From 5449adc8f8142108ef46d4b548912871674e8ddb Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 18 Mar 2025 12:08:19 +0100 Subject: [PATCH] fix the monitoring --- show-status.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/show-status.sh b/show-status.sh index 8cadbacd..dc94e535 100755 --- a/show-status.sh +++ b/show-status.sh @@ -38,6 +38,9 @@ for part in "${parts[@]}"; do if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then # Allow exit status 1 if result contains "syncing" true + elif [[ "$result" == *"lagging"* && $? -eq 1 ]]; then + # Allow exit status 1 if result contains "syncing" + true else any_failure=true fi