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

+ 1
- 1
src/freedombone-controlpanel View File

359
     fi
359
     fi
360
     # There are two forms of addresses: "x / y.onion" and "x.onion"
360
     # There are two forms of addresses: "x / y.onion" and "x.onion"
361
     intermediate=$(echo "$selected_addresses" | awk -F '.' '{print $2}')
361
     intermediate=$(echo "$selected_addresses" | awk -F '.' '{print $2}')
362
-    if [[ "$intermediate" == *'/'* ]]; then
362
+    if [[ "$intermediate" == *'//'* ]]; then
363
         onion_addr=$(echo "$intermediate" | awk -F ' ' '{print $3}').onion
363
         onion_addr=$(echo "$intermediate" | awk -F ' ' '{print $3}').onion
364
     else
364
     else
365
         onion_addr="$selected_addresses".onion
365
         onion_addr="$selected_addresses".onion