From f442abae59f5385358a28dd435d24f1bdf5e1098 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 5 Jun 2018 01:22:10 -0600 Subject: [PATCH] read relay prompt variable correctly --- usr/share/install_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 2a7b28f..5402044 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -97,7 +97,7 @@ if [ -z "${my_relay}" ]; then #$read_cmd -p "relay [default: wss://www.telebit.cloud]: " my_relay $read_cmd -p "relay: " my_relay echo "" - my_relay=${2:-wss://www.telebit.cloud} + my_relay=${my_relay:-wss://www.telebit.cloud} # UX - just want a smooth transition sleep 0.5 fi