mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 17:54:47 +02:00
global-functions: $ScriptLock: do not exit from global function
This commit is contained in:
parent
56e97dd60c
commit
1e8918fdaa
57 changed files with 172 additions and 61 deletions
|
@ -25,7 +25,9 @@
|
|||
:global LogPrintExit2;
|
||||
:global ScriptLock;
|
||||
|
||||
$ScriptLock $ScriptName;
|
||||
:if ([ $ScriptLock $ScriptName ] = false) do={
|
||||
:return false;
|
||||
}
|
||||
|
||||
:local Zone \
|
||||
([ $IfThenElse ($PrefixInZone = true) "ipsec." ] . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue