diff --git a/homelab/server/scripts/nas_down.sh b/homelab/server/scripts/nas_down.sh index a83d8e01..a3a59bea 100755 --- a/homelab/server/scripts/nas_down.sh +++ b/homelab/server/scripts/nas_down.sh @@ -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 \ No newline at end of file