Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
ddfd249c82
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/freedombone-controlpanel

+ 1
- 1
src/freedombone-controlpanel Parādīt failu

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
     if [[ "$selected_addresses" == *'/'* ]]; then
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
     else
363
     else
364
         onion_addr="$selected_addresses".onion
364
         onion_addr="$selected_addresses".onion
365
     fi
365
     fi