This commit is contained in:
Bob Mottram 2018-05-08 13:48:12 +01:00
parent 6d66aacf2e
commit 1cce575ccd
1 changed files with 1 additions and 1 deletions

View File

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