aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-18 10:13:53 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-18 10:19:22 +0100
commita7619a51195effef1f4c2f8aa8e8151c6e0e1094 (patch)
tree4148ec3deb4c0fa1e2f51e3d918d98b47b6d8536 /global-functions.rsc
parent306269f9191415b6e7fe83029d671613145f5f13 (diff)
global-functions: $LogPrintOnce: support exit
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index af82fa8..3d66259 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -681,6 +681,7 @@
:local Severity [ :tostr $1 ];
:local Name [ :tostr $2 ];
:local Message [ :tostr $3 ];
+ :local Exit [ :tostr $4 ];
:global LogPrintExit2;
@@ -695,7 +696,7 @@
}
:set ($LogPrintOnceMessages->$Message) 1;
- $LogPrintExit2 $Severity $Name $Message false;
+ $LogPrintExit2 $Severity $Name $Message $Exit;
}
# get max value