Skip to content
Snippets Groups Projects
Commit 1cce575c authored by Bob Mottram's avatar Bob Mottram
Browse files

double

parent 6d66aacf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment