From ddfd249c82fe2538860dfba93fa7466cc11a72e9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 8 May 2018 13:58:11 +0100 Subject: [PATCH] Index --- src/freedombone-controlpanel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index a194349a..e72df4f7 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -359,7 +359,7 @@ function show_domains { fi # There are two forms of addresses: "x / y.onion" and "x.onion" 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 onion_addr="$selected_addresses".onion fi