Skip to content

Commit

Permalink
Fix wrong method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kajeagentspi authored Sep 17, 2024
1 parent b24fb1d commit 765f1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ __delete_reth() {
fi

# Has db been initialized?
__db_exists=$(dodocker run --rm -v "$(dodocker volume ls -q -f "name=$(basename "$(realpath .)")[_-]reth-el-data")":"/var/lib/reth" \
__db_exists=$(__dodocker run --rm -v "$(__dodocker volume ls -q -f "name=$(basename "$(realpath .)")[_-]reth-el-data")":"/var/lib/reth" \
alpine:3 sh -c 'if [ -f "/var/lib/reth/db/database.version" ]; then echo true; else echo false; fi')
if [ "$__db_exists" = "false" ]; then
return 0
Expand Down

0 comments on commit 765f1d0

Please sign in to comment.