aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hello-world.rsc4
1 files 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!" });
}