fix npe-like-error
This commit is contained in:
parent
0d7c1902c1
commit
ae2779f48e
@ -32,7 +32,7 @@ backupRootDirectory /etc/docker/daemon.json $BACKUP_DIR_ROOT/docker/
|
|||||||
### upload backup ###
|
### upload backup ###
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
if [[ "$1" == "--noupload" ]]; then
|
if [[ $# > 0 && "$1" == "--noupload" ]]; then
|
||||||
exit 0;
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user