From bb687505de0b75caad5245bd75a7fb146f5e107b Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sun, 13 Apr 2025 18:07:43 +0700 Subject: [PATCH] fiux opera --- fantom/scripts/entrypoint.opera.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fantom/scripts/entrypoint.opera.sh b/fantom/scripts/entrypoint.opera.sh index f00a410e..f3a22fa7 100644 --- a/fantom/scripts/entrypoint.opera.sh +++ b/fantom/scripts/entrypoint.opera.sh @@ -6,7 +6,8 @@ set -e datadir=/datadir FANTOM_HOME="$datadir" -if existing_file=$(ls "$datadir"/*.g 2>/dev/null | head -n1); then +existing_file=$(ls "$datadir"/*.g 2>/dev/null | head -n1) +if [ -n "$existing_file" ]; then echo "Some genesis block seems to exist" filename=$(basename "$existing_file") else