mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-20 16:09: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
|
|
@ -131,7 +131,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
|
||||
|
|
@ -259,7 +259,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