From 8af4e2b45a6b08d03e46b2e7aa3a6b5ffd1d5969 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 18 Aug 2022 10:57:09 -0700 Subject: [PATCH] If $MATCH == 0 --- server/scripts/nas_down.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/nas_down.sh b/server/scripts/nas_down.sh index 3652f7e..3d6a420 100755 --- a/server/scripts/nas_down.sh +++ b/server/scripts/nas_down.sh @@ -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"