From 7f2ed096d20d4d57607ac74fa4777e4810305d31 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Fri, 30 Aug 2024 13:40:34 +0100 Subject: [PATCH] Fix backup script bug. --- backup-image/list.sh | 2 +- backup-image/verify-all.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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