diff --git a/clients/reth/reth.sh b/clients/reth/reth.sh index da56e87cd4..2723b10030 100644 --- a/clients/reth/reth.sh +++ b/clients/reth/reth.sh @@ -131,7 +131,7 @@ fi #fi # If clique is expected enable auto-mine -if [ "$HIVE_CLIQUE_PRIVATEKEY" != "" ]; then +if [ -n "${HIVE_CLIQUE_PRIVATEKEY}" ] || [ -n "${HIVE_MINER}" ]; then FLAGS="$FLAGS --auto-mine" fi