mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
Merge pull request #2218 from nspcc-dev/shellcheck
.docker: fix shellcheck issues
This commit is contained in:
commit
66f2bb1b03
1 changed files with 7 additions and 7 deletions
|
@ -3,10 +3,10 @@
|
|||
BIN=/usr/bin/neo-go
|
||||
|
||||
case $@ in
|
||||
"node"*)
|
||||
"node"*)
|
||||
echo "=> Try to restore blocks before running node"
|
||||
if [ -n "$ACC" -a -f "$ACC" ]; then
|
||||
gunzip --stdout "$ACC" > /privnet.acc
|
||||
if [ -f "$ACC" ]; then
|
||||
gunzip --stdout "$ACC" >/privnet.acc
|
||||
${BIN} db restore -p --config-path /config -i /privnet.acc
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue