mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-21 08:29:33 +00:00
global-functions: $SendNotification: use $ExitOnError
This commit is contained in:
parent
7bb6a3f843
commit
5dcd63eed0
1 changed files with 1 additions and 1 deletions
|
|
@ -1674,7 +1674,7 @@
|
||||||
|
|
||||||
$SendNotification2 ({ origin=$0; subject=$1; message=$2; link=$3; silent=$4 });
|
$SendNotification2 ({ origin=$0; subject=$1; message=$2; link=$3; silent=$4 });
|
||||||
} do={
|
} do={
|
||||||
:global ExitError; $ExitError false $0 $Err;
|
:global ExitOnError; $ExitOnError $0 $Err;
|
||||||
} }
|
} }
|
||||||
|
|
||||||
# send notification via NotificationFunctions - expects one array argument
|
# send notification via NotificationFunctions - expects one array argument
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue