mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-22 00:49:34 +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
|
|
@ -59,7 +59,7 @@
|
|||
:set MatrixQueue;
|
||||
}
|
||||
} do={
|
||||
:global ExitError; $ExitError false $0 $Err;
|
||||
:global ExitError; $ExitError $0 $Err;
|
||||
} }
|
||||
|
||||
# send notification via Matrix - expects one array argument
|
||||
|
|
@ -172,7 +172,7 @@
|
|||
|
||||
$SendMatrix2 ({ origin=$0; subject=$1; message=$2; link=$3 });
|
||||
} do={
|
||||
:global ExitError; $ExitError false $0 $Err;
|
||||
:global ExitError; $ExitError $0 $Err;
|
||||
} }
|
||||
|
||||
# send notification via Matrix - expects one array argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue