Evalutate $MATCH

This commit is contained in:
Joey Hafner 2022-08-18 10:53:37 -07:00
parent fbec8e7cde
commit 30eafd57ac

View File

@ -7,5 +7,9 @@ do
echo "======== CHECKING $CONTAINER_NAME ========"
echo "$CONTAINER_MOUNTS" | grep /mnt/nas
MATCH=$?
echo $MATCH
if [ $MATCH ]; then
echo "NAS DEPENDENT"
else
echo "NOT NAS DEPENDENT"
fi
done