mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-21 16:39:32 +00:00
global-functions: $ExitError: drop argument $ExitOK...
... as the is no longer required with early exit with :exit.
This commit is contained in:
parent
eb182fe769
commit
2e422a153f
69 changed files with 83 additions and 86 deletions
|
|
@ -82,7 +82,7 @@
|
|||
$LogPrint info $FuncName ("No action defined for " . $Count . " mode-button presses.");
|
||||
}
|
||||
} do={
|
||||
:global ExitError; $ExitError false $0 $Err;
|
||||
:global ExitError; $ExitError $0 $Err;
|
||||
} }
|
||||
/system/scheduler/add name="_ModeButtonScheduler" \
|
||||
on-event=":global ModeButtonScheduler; \$ModeButtonScheduler;" interval=3s;
|
||||
|
|
@ -91,5 +91,5 @@
|
|||
/system/scheduler/set $Scheduler start-time=[ /system/clock/get time ];
|
||||
}
|
||||
} do={
|
||||
:global ExitError; $ExitError false [ :jobname ] $Err;
|
||||
:global ExitError; $ExitError [ :jobname ] $Err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue