fix the monitoring

This commit is contained in:
Sebastian
2025-03-18 12:15:07 +01:00
parent a98d858591
commit 9a07aafabb

View File

@@ -37,10 +37,10 @@ for part in "${parts[@]}"; do
if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then
# Allow exit status 1 if result contains "syncing"
true
echo "hit syncing"
elif [[ "$result" == *"lagging"* && $? -eq 1 ]]; then
# Allow exit status 1 if result contains "syncing"
true
echo "hit lagging"
elif [ $? -ne 0 ]; then
any_failure=true
fi