mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $LogPrintExit2: always print the message...
... even on error. Not sure why and when this broke.
This commit is contained in:
parent
5c3585cd98
commit
b0d3e3d5f4
|
@ -531,11 +531,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ($Severity != "debug" || $Debug = true) do={
|
:if ($Severity != "debug" || $Debug = true) do={
|
||||||
:if ($Exit = "true") do={
|
:put ([ $PrintSeverity $Severity ] . ": " . $Message);
|
||||||
:error ([ $PrintSeverity $Severity ] . ": " . $Message);
|
}
|
||||||
} else={
|
|
||||||
:put ([ $PrintSeverity $Severity ] . ": " . $Message);
|
:if ($Exit = "true") do={
|
||||||
}
|
:error ("Hard error to exit.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue