Too many onions

This commit is contained in:
Bob Mottram 2018-05-08 13:59:40 +01:00
parent ddfd249c82
commit 73fe5d686b
1 changed files with 2 additions and 2 deletions

View File

@ -359,9 +359,9 @@ function show_domains {
fi fi
# There are two forms of addresses: "x / y.onion" and "x.onion" # There are two forms of addresses: "x / y.onion" and "x.onion"
if [[ "$selected_addresses" == *'/'* ]]; then if [[ "$selected_addresses" == *'/'* ]]; then
onion_addr=$(echo "$selected_addresses" | awk -F '/' '{print $2}' | awk -F ' ' '{print $1}').onion onion_addr=$(echo "$selected_addresses" | awk -F '/' '{print $2}' | awk -F ' ' '{print $1}')
else else
onion_addr="$selected_addresses".onion onion_addr="$selected_addresses"
fi fi
# show the onion address as a QR code # show the onion address as a QR code
clear clear