From 59a0369f8ac4ec2b4c821f9de32d28ef746ba433 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 19 Mar 2024 06:32:40 +0100 Subject: [PATCH] fix --- check-disk-space.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check-disk-space.sh b/check-disk-space.sh index 1e5d9c6b..a431235c 100755 --- a/check-disk-space.sh +++ b/check-disk-space.sh @@ -19,6 +19,7 @@ while IFS= read -r line; do echo "WARNING: Filesystem $filesystem is $usage% full!" fi else - echo "WARNING: Unable to parse usage for filesystem $filesystem." + # Skip the line if usage information cannot be parsed + continue fi done <<< "$filesystems"