mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-24 19:30:34 +00:00
.docker: fix shellcheck issues
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
ab3df6cc52
commit
eb07a4cfc6
1 changed files with 7 additions and 7 deletions
|
@ -3,13 +3,13 @@
|
||||||
BIN=/usr/bin/neo-go
|
BIN=/usr/bin/neo-go
|
||||||
|
|
||||||
case $@ in
|
case $@ in
|
||||||
"node"*)
|
"node"*)
|
||||||
echo "=> Try to restore blocks before running node"
|
echo "=> Try to restore blocks before running node"
|
||||||
if [ -n "$ACC" -a -f "$ACC" ]; then
|
if [ -f "$ACC" ]; then
|
||||||
gunzip --stdout "$ACC" > /privnet.acc
|
gunzip --stdout "$ACC" >/privnet.acc
|
||||||
${BIN} db restore -p --config-path /config -i /privnet.acc
|
${BIN} db restore -p --config-path /config -i /privnet.acc
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
${BIN} "$@"
|
${BIN} "$@"
|
||||||
|
|
Loading…
Reference in a new issue