aboutsummaryrefslogtreecommitdiffstats
path: root/script-updates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-03-05 08:58:29 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-03-05 08:58:29 +0100
commit34255c905085134056c0c9072c174924ae4f7fe8 (patch)
treebe6c68760cee62114495481c1285117d2083847f /script-updates
parent3ec34fa752d6cab8e9e75f6ce22124247464680b (diff)
script-updates: use $LogPrintExit for debug
Diffstat (limited to 'script-updates')
-rw-r--r--script-updates8
1 files changed, 4 insertions, 4 deletions
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) \