read relay prompt variable correctly

This commit is contained in:
AJ ONeal 2018-06-05 01:22:10 -06:00
parent df16948bc5
commit f442abae59
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ if [ -z "${my_relay}" ]; then
#$read_cmd -p "relay [default: wss://www.telebit.cloud]: " my_relay #$read_cmd -p "relay [default: wss://www.telebit.cloud]: " my_relay
$read_cmd -p "relay: " my_relay $read_cmd -p "relay: " my_relay
echo "" echo ""
my_relay=${2:-wss://www.telebit.cloud} my_relay=${my_relay:-wss://www.telebit.cloud}
# UX - just want a smooth transition # UX - just want a smooth transition
sleep 0.5 sleep 0.5
fi fi