lease-script: do not exit with error

This commit is contained in:
Christian Hesse 2024-03-04 16:01:00 +01:00
parent 3acdebad04
commit c6639518bc

View file

@ -37,7 +37,8 @@
$ScriptLock $ScriptName false 10;
:if ([ :len [ /system/script/job/find where script=$ScriptName ] ] > 1) do={
$LogPrintExit2 debug $ScriptName ("More invocations are waiting, exiting early.") true;
$LogPrintExit2 debug $ScriptName ("More invocations are waiting, exiting early.") false;
:return true;
}
:local RunOrder ({});