If $MATCH == 0

This commit is contained in:
Joey Hafner 2022-08-18 10:57:09 -07:00
parent 3f169b98fe
commit 8af4e2b45a

View File

@ -8,7 +8,7 @@ do
echo "$CONTAINER_MOUNTS" | grep /mnt/nas
MATCH=$?
echo "$MATCH"
if $MATCH; then
if [ $MATCH == 0 ]; then
echo "NAS DEPENDENT"
else
echo "NOT NAS DEPENDENT"