If $MATCH == 0

This commit is contained in:
Joey Hafner 2022-08-18 10:57:09 -07:00
parent 911d3ae459
commit f1c522389b

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"