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