aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-04 15:27:03 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 15:27:15 +0100
commit7fa03ab70e4e711dfb3ceeefa37639bf6676e27c (patch)
tree86eacc4d803aa64180a83fdb97cb71734e1e14f5
parentd46156ad92322ffda1c7769d8eb9ea2b9fab6015 (diff)
log-forward: do not exit with error
-rw-r--r--log-forward.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/log-forward.rsc b/log-forward.rsc
index 13b490e..5044d43 100644
--- a/log-forward.rsc
+++ b/log-forward.rsc
@@ -40,7 +40,8 @@
:if ($LogForwardRateLimit > 30) do={
:set LogForwardRateLimit ($LogForwardRateLimit - 1);
- $LogPrintExit2 info $ScriptName ("Rate limit in action, not forwarding logs, if any!") true;
+ $LogPrintExit2 info $ScriptName ("Rate limit in action, not forwarding logs, if any!") false;
+ :return true;
}
:local Count 0;