fix for the read flag

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2024-11-10 23:11:02 +03:00
parent 925b7d7beb
commit 8e88ab874f
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA

View File

@ -311,7 +311,7 @@ if [[ $ARGUMENTS = true ]]; then
CLI_ARGS+=("--bootnodes=$bootnodes")
fi
read -r "[?] address that other nodes will use to connect: (default: current ip)" public_addr
read -p "[?] address that other nodes will use to connect: (default: current ip)" public_addr
if [ ! -z $public_addr ]; then
CLI_ARGS+=("--public-addr=$public_addr")
fi