diff --git a/reth/reth-entrypoint b/reth/reth-entrypoint index 0f2132ad..31e40e0f 100755 --- a/reth/reth-entrypoint +++ b/reth/reth-entrypoint @@ -33,7 +33,8 @@ else fi # Add pruning for base -if [[ "$NODE_TYPE" == "base" && -n "${RETH_PRUNING_ARGS+x}" = x ]]; then +if [[ "$NODE_TYPE" == "base" && "${RETH_PRUNING_ARGS+x}" = x ]]; then + echo "Adding pruning arguments: $RETH_PRUNING_ARGS" ADDITIONAL_ARGS="$ADDITIONAL_ARGS $RETH_PRUNING_ARGS" fi