diff --git a/scripts/backup_edi.sh b/scripts/backup_edi.sh index adee0e9..42d8ee2 100755 --- a/scripts/backup_edi.sh +++ b/scripts/backup_edi.sh @@ -32,7 +32,7 @@ backupRootDirectory /etc/docker/daemon.json $BACKUP_DIR_ROOT/docker/ ### upload backup ### ##################### -if [[ "$1" == "--noupload" ]]; then +if [[ $# > 0 && "$1" == "--noupload" ]]; then exit 0; fi