If $MATCH == 0
This commit is contained in:
parent
911d3ae459
commit
f1c522389b
@ -8,7 +8,7 @@ do
|
|||||||
echo "$CONTAINER_MOUNTS" | grep /mnt/nas
|
echo "$CONTAINER_MOUNTS" | grep /mnt/nas
|
||||||
MATCH=$?
|
MATCH=$?
|
||||||
echo "$MATCH"
|
echo "$MATCH"
|
||||||
if $MATCH; then
|
if [ $MATCH == 0 ]; then
|
||||||
echo "NAS DEPENDENT"
|
echo "NAS DEPENDENT"
|
||||||
else
|
else
|
||||||
echo "NOT NAS DEPENDENT"
|
echo "NOT NAS DEPENDENT"
|
||||||
|
Loading…
Reference in New Issue
Block a user