Index
This commit is contained in:
parent
99cf8b4419
commit
ddfd249c82
|
@ -359,7 +359,7 @@ 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 $2}').onion
|
onion_addr=$(echo "$selected_addresses" | awk -F '/' '{print $2}' | awk -F ' ' '{print $1}').onion
|
||||||
else
|
else
|
||||||
onion_addr="$selected_addresses".onion
|
onion_addr="$selected_addresses".onion
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue