Skip to content

Commit

Permalink
Quiet on data dir not found
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Jul 5, 2024
1 parent 4cc6dd0 commit ff81581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MEVBOOST_FLAGS="--payload-builder=true --payload-builder-url"

handle_checkpoint() {

if [ -n "$(ls -A "${DATA_DIR}/db")" ]; then
if [ -n "$(ls -A "${DATA_DIR}/db" 2>/dev/null)" ]; then
echo "[INFO - entrypoint] Data directory has already been initialized, skipping checkpoint sync."
return
fi
Expand Down

0 comments on commit ff81581

Please sign in to comment.