fix the monitoring

This commit is contained in:
Sebastian
2025-03-18 12:08:19 +01:00
parent 2c3afa42cd
commit 5449adc8f8

View File

@@ -38,6 +38,9 @@ for part in "${parts[@]}"; do
if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then
# Allow exit status 1 if result contains "syncing" # Allow exit status 1 if result contains "syncing"
true true
elif [[ "$result" == *"lagging"* && $? -eq 1 ]]; then
# Allow exit status 1 if result contains "syncing"
true
else else
any_failure=true any_failure=true
fi fi