diff --git a/backup-image/list.sh b/backup-image/list.sh index ca8c434..9a74494 100755 --- a/backup-image/list.sh +++ b/backup-image/list.sh @@ -1,5 +1,5 @@ #/bin/bash -if [[ "$1" != '$' ]]; 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 0a44928..af4b41f 100755 --- a/backup-image/verify-all.sh +++ b/backup-image/verify-all.sh @@ -1,6 +1,6 @@ #/bin/bash echo "Verify All Backups!"; -if [[ "$1" != '$' ]]; then +if [[ "$1" == '$' ]]; then echo "Usage: verify-all.sh [Storage disk root path]"; exit 2; fi