Evalutate $MATCH

This commit is contained in:
Joey Hafner 2022-08-18 10:53:37 -07:00
parent 2dbf90a5ab
commit 731d8226e7

View File

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