diff --git a/scripts/docker-lotus-entrypoint.sh b/scripts/docker-lotus-entrypoint.sh index bb11211e9..80772b4e9 100755 --- a/scripts/docker-lotus-entrypoint.sh +++ b/scripts/docker-lotus-entrypoint.sh @@ -12,8 +12,8 @@ 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 -/usr/local/bin/lotus daemon +exec /usr/local/bin/lotus daemon