From 43d0f9f371945b2f6178ba2de13227251683d414 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 12 Mar 2024 18:01:39 +0100 Subject: hello-world: switch to $LogPrint --- hello-world.rsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello-world.rsc b/hello-world.rsc index ca125e7..e3ebf8a 100644 --- a/hello-world.rsc +++ b/hello-world.rsc @@ -12,12 +12,12 @@ :do { :local ScriptName [ :jobname ]; - :global LogPrintExit2; + :global LogPrint; :global ScriptFromTerminal; :global SendNotification2; :if ([ $ScriptFromTerminal $ScriptName ] = true) do={ - $LogPrintExit2 info $ScriptName ("Hello world!") false; + $LogPrint info $ScriptName ("Hello world!"); } else={ $SendNotification2 ({ origin=$ScriptName; subject="Hello..."; message="... world!" }); } -- cgit v1.2.3-70-g09d2