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