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"