log-forward: do not exit with error

This commit is contained in:
Christian Hesse 2024-03-04 15:27:03 +01:00
parent d46156ad92
commit 7fa03ab70e

View file

@ -40,7 +40,8 @@
:if ($LogForwardRateLimit > 30) do={ :if ($LogForwardRateLimit > 30) do={
:set LogForwardRateLimit ($LogForwardRateLimit - 1); :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; :local Count 0;