From 6123584a02cfef4b43cc07e37ab94cbbdf811689 Mon Sep 17 00:00:00 2001 From: Micha Date: Sat, 6 Jun 2026 13:03:05 +0200 Subject: [PATCH] ops: make freshness negative ntfy call robust --- ops/restore-tests/negative-freshness-alert-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/restore-tests/negative-freshness-alert-test.sh b/ops/restore-tests/negative-freshness-alert-test.sh index 7cea731..fa46ef7 100755 --- a/ops/restore-tests/negative-freshness-alert-test.sh +++ b/ops/restore-tests/negative-freshness-alert-test.sh @@ -52,7 +52,7 @@ critical_count="${critical_count:-0}" if [ "$rc" -ne 0 ] && [ "$critical_count" -gt 0 ]; then if [ "$SEND_NTFY" = "1" ]; then - "$SCRIPT_DIR/send-ntfy.sh" \ + bash "$SCRIPT_DIR/send-ntfy.sh" \ "$ALERT_TOPIC" \ "TEST: Restore freshness alert path ok" \ "Negativtest erfolgreich: check-restore-freshness.sh meldete ${critical_count} Criticals gegen synthetischen leeren Testpfad. Produktive Dumps wurden nicht veraendert. Report: $report_file" \ @@ -63,7 +63,7 @@ if [ "$rc" -ne 0 ] && [ "$critical_count" -gt 0 ]; then fi if [ "$SEND_NTFY" = "1" ]; then - "$SCRIPT_DIR/send-ntfy.sh" \ + bash "$SCRIPT_DIR/send-ntfy.sh" \ "$ALERT_TOPIC" \ "TEST FAILED: Restore freshness alert path" \ "Negativtest fehlgeschlagen: erwarteter Critical-Zustand wurde nicht erkannt. Report: $report_file" \