Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aeaab78

Browse files
authored
fix: make bootnodes check safer (base#538)
1 parent 974d711 commit aeaab78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nethermind/nethermind-entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
3131

3232
# Additional arguments based on environment variables
33-
if [ "${OP_NETHERMIND_BOOTNODES+x}" = x ]; then
33+
if [[ -n "${OP_NETHERMIND_BOOTNODES:-}" ]]; then
3434
ADDITIONAL_ARGS="$ADDITIONAL_ARGS --Network.Bootnodes=$OP_NETHERMIND_BOOTNODES"
3535
fi
3636

0 commit comments

Comments
 (0)