mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-06 05:59:36 +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
4dee3a9d62
commit
104639264a
69 changed files with 80 additions and 81 deletions
|
|
@ -146,7 +146,7 @@
|
|||
/system/scheduler/set interval=(($SchedVal->"run-count") . "m") \
|
||||
comment="Waiting for retry..." $Scheduler;
|
||||
} do={
|
||||
:global ExitError; $ExitError false $0 $Err;
|
||||
:global ExitError; $ExitError $0 $Err;
|
||||
} }
|
||||
|
||||
# generate filter for log-forward
|
||||
|
|
@ -274,7 +274,7 @@
|
|||
|
||||
$SendEMail2 ({ origin=$0; subject=$1; message=$2; link=$3 });
|
||||
} do={
|
||||
:global ExitError; $ExitError false $0 $Err;
|
||||
:global ExitError; $ExitError $0 $Err;
|
||||
} }
|
||||
|
||||
# send notification via e-mail - expects one array argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue