Evalutate $MATCH
This commit is contained in:
parent
2dbf90a5ab
commit
731d8226e7
@ -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
|
Loading…
Reference in New Issue
Block a user