mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-24 12:54:28 +02:00
global-functions: $ScriptLock: fix second parameter
This broke with 1e8918fdaa5a30393e2004d1f5e4dff458936b67... Fixes: https://github.com/eworm-de/routeros-scripts/issues/95
This commit is contained in:
parent
2cc47f56b9
commit
27987a0d7c
1 changed files with 1 additions and 1 deletions
|
@ -1388,7 +1388,7 @@
|
|||
# lock script against multiple invocation
|
||||
:set ScriptLock do={
|
||||
:local Script [ :tostr $1 ];
|
||||
:local WaitMax ([ :tonum $3 ] * 10);
|
||||
:local WaitMax ([ :tonum $2 ] * 10);
|
||||
|
||||
:global GetRandom20CharAlNum;
|
||||
:global IfThenElse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue