mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-29 06:18:26 +02:00
lease-script: do not exit with error
This commit is contained in:
parent
3acdebad04
commit
c6639518bc
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@
|
||||||
$ScriptLock $ScriptName false 10;
|
$ScriptLock $ScriptName false 10;
|
||||||
|
|
||||||
:if ([ :len [ /system/script/job/find where script=$ScriptName ] ] > 1) do={
|
: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 ({});
|
:local RunOrder ({});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue