Fix backup script bug.
This commit is contained in:
parent
7c90b98a44
commit
7f2ed096d2
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user