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

+ 1
- 1
src/freedombone-controlpanel View File

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