Fix backup script bug.

This commit is contained in:
Captain ALM 2024-08-30 13:40:34 +01:00
parent 7c90b98a44
commit 7f2ed096d2
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#/bin/bash #/bin/bash
if [[ "$1" != '$' ]]; then if [[ "$1" == '$' ]]; then
echo "Usage: list.sh [Storage disk root path]"; echo "Usage: list.sh [Storage disk root path]";
exit 2; exit 2;
fi fi

View File

@ -1,6 +1,6 @@
#/bin/bash #/bin/bash
echo "Verify All Backups!"; echo "Verify All Backups!";
if [[ "$1" != '$' ]]; then if [[ "$1" == '$' ]]; then
echo "Usage: verify-all.sh [Storage disk root path]"; echo "Usage: verify-all.sh [Storage disk root path]";
exit 2; exit 2;
fi fi