Browse Source

icann address formatting

Bob Mottram 7 years ago
parent
commit
3f5762078f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/freedombone-controlpanel

+ 5
- 1
src/freedombone-controlpanel View File

285
             fi
285
             fi
286
 
286
 
287
             if [[ "${icann_address}" != '-' ]]; then
287
             if [[ "${icann_address}" != '-' ]]; then
288
-                W+=("${app_name}" "${icann_address} / ${onion_address}")
288
+                if [[ "${onion_address}" != '-' ]]; then
289
+                    W+=("${app_name}" "${icann_address} / ${onion_address}")
290
+                else
291
+                    W+=("${app_name}" "${icann_address}")
292
+                fi
289
             else
293
             else
290
                 W+=("${app_name}" "${onion_address}")
294
                 W+=("${app_name}" "${onion_address}")
291
             fi
295
             fi