From 2c3afa42cd28e9478379504f9a522f016fab2c2b Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 18 Mar 2025 12:06:34 +0100 Subject: [PATCH] fix the monitoring --- show-status.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/show-status.sh b/show-status.sh index c5a36700..8cadbacd 100755 --- a/show-status.sh +++ b/show-status.sh @@ -35,7 +35,12 @@ for part in "${parts[@]}"; do if $include; then result=$($BASEPATH/sync-status.sh "${part%.yml}") if [ $? -ne 0 ]; then - any_failure=true + if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then + # Allow exit status 1 if result contains "syncing" + true + else + any_failure=true + fi fi echo "${part%.yml}: $result"