Update docker-lotus-miner-entrypoint.sh
Missing variable escape character
This commit is contained in:
parent
4f5fa3be3c
commit
a75d67a42c
@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ ! -z DOCKER_LOTUS_MINER_INIT ]; then
|
if [ ! -z $DOCKER_LOTUS_MINER_INIT ]; then
|
||||||
GATE="$LOTUS_PATH"/date_initialized
|
GATE="$LOTUS_PATH"/date_initialized
|
||||||
|
|
||||||
# Don't init if already initialized.
|
# Don't init if already initialized.
|
||||||
if [ -f "GATE" ]; then
|
if [ -f "$GATE" ]; then
|
||||||
echo lotus-miner already initialized.
|
echo lotus-miner already initialized.
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user