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" \