issue with --validate flag fixed

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2025-02-06 20:55:55 +03:00
parent 346d629f95
commit eae752a7bf
Signed by: st1nky
GPG Key ID: 016064BD97603B40

View File

@ -268,7 +268,7 @@ if [[ ! -z $RELEASE ]]; then
fi fi
fi fi
if [[ ! -z $VALIDATE ]]; then if [[ $VALIDATE = true ]]; then
cli_args=$(cat /etc/default/ghost) cli_args=$(cat /etc/default/ghost)
if prompt "[?] turn on validator mode?"; then if prompt "[?] turn on validator mode?"; then
if [[ $cli_args == *"--validator"* ]]; then if [[ $cli_args == *"--validator"* ]]; then