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,7 +285,11 @@ function show_domains {
285 285
             fi
286 286
 
287 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 293
             else
290 294
                 W+=("${app_name}" "${onion_address}")
291 295
             fi