From 34255c905085134056c0c9072c174924ae4f7fe8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Mar 2020 08:58:29 +0100 Subject: script-updates: use $LogPrintExit for debug --- script-updates | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'script-updates') diff --git a/script-updates b/script-updates index b84fcbf..35c8bff 100644 --- a/script-updates +++ b/script-updates @@ -48,7 +48,7 @@ } :if ($Ignore = 0) do={ - :log debug ("Fetching script from url: " . $ScriptVal->"name"); + $LogPrintExit debug ("Fetching script from url: " . $ScriptVal->"name") false; :do { :local Result [ / tool fetch check-certificate=yes-without-crl \ ($ScriptUpdatesBaseUrl . $ScriptVal->"name" . $ScriptUpdatesUrlSuffix) \ @@ -78,13 +78,13 @@ / system script run global-functions; } } else={ - :log debug ("Script " . $ScriptVal->"name" . " did not change."); + $LogPrintExit debug ("Script " . $ScriptVal->"name" . " did not change.") false; } } else={ $LogPrintExit warning ("Looks like new script " . $ScriptVal->"name" . " is not valid. Ignoring!") false; } } else={ - :log debug ("No update for script " . $ScriptVal->"name" . "."); + $LogPrintExit debug ("No update for script " . $ScriptVal->"name" . ".") false; } } @@ -101,7 +101,7 @@ "\$GlobalConfigVersion (currently " . $GlobalConfigVersion . \ ") to " . $ExpectedConfigVersion . " and re-run " . $ConfigScript . "."); - :log debug ("Fetching changelog."); + $LogPrintExit debug ("Fetching changelog.") false; :do { :local Result [ / tool fetch check-certificate=yes-without-crl \ ($ScriptUpdatesBaseUrl . "global-config.changes" . $ScriptUpdatesUrlSuffix) \ -- cgit v1.2.3-54-g00ecf