diff --git a/backup-image/list.sh b/backup-image/list.sh index 78bb057..ca8c434 100755 --- a/backup-image/list.sh +++ b/backup-image/list.sh @@ -1,5 +1,5 @@ #/bin/bash -if [ $# -eq 0 ]; then +if [[ "$1" != '$' ]]; then echo "Usage: list.sh [Storage disk root path]"; exit 2; fi diff --git a/backup-image/verify-all.sh b/backup-image/verify-all.sh index 8c4df7d..0a44928 100755 --- a/backup-image/verify-all.sh +++ b/backup-image/verify-all.sh @@ -1,6 +1,6 @@ #/bin/bash echo "Verify All Backups!"; -if [ $# -eq 0 ]; then +if [[ "$1" != '$' ]]; then echo "Usage: verify-all.sh [Storage disk root path]"; exit 2; fi