Create ./worker-data/env_file if it doesn't exist
This commit is contained in:
parent
cddba4c19e
commit
a4d66dd9e2
@ -25,6 +25,9 @@ if [ -n "$mnemonic" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ensure the worker-data directory exists
|
||||||
|
mkdir -p ./worker-data
|
||||||
|
|
||||||
if [ ! -f ./worker-data/env_file ]; then
|
if [ ! -f ./worker-data/env_file ]; then
|
||||||
echo "ENV_LOADED=false" > ./worker-data/env_file
|
echo "ENV_LOADED=false" > ./worker-data/env_file
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user