read relay prompt variable correctly
This commit is contained in:
parent
ac36474b9b
commit
82fb0ee8ac
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue