diff --git a/scripts/docker-lotus-entrypoint.sh b/scripts/docker-lotus-entrypoint.sh index 308a4b6eb..de1dfbcc8 100755 --- a/scripts/docker-lotus-entrypoint.sh +++ b/scripts/docker-lotus-entrypoint.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [ ! -z DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then +if [ ! -z $DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then GATE="$LOTUS_PATH"/date_initialized # Don't init if already initialized. if [ ! -f "$GATE" ]; then @@ -12,7 +12,7 @@ if [ ! -z DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then fi # import wallet, if provided -if [ ! -z DOCKER_LOTUS_IMPORT_WALLET ]; then +if [ ! -z $DOCKER_LOTUS_IMPORT_WALLET ]; then /usr/local/bin/lotus-shed keyinfo import "$DOCKER_LOTUS_IMPORT_WALLET" fi