aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-05-04 11:06:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-05-04 11:06:02 +0200
commit378a1785f4b1115c13e3fa2c1403524e4955872b (patch)
treef5710e82bef42a49033b23478dd079ae9c1d6fae
parentce4d332f55d1b4003a71e142b0ce23a41ad68540 (diff)
global-functions: $ScriptInstallUpdate: log when reloading code
-rw-r--r--global-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 5f903d0..b95e9cf 100644
--- a/global-functions
+++ b/global-functions
@@ -491,9 +491,11 @@
dont-require-permissions=$DontRequirePermissions $Script;
:if ($ScriptVal->"name" = "global-config" && \
[ / system script print count-only where name="global-config-overlay" ] > 0) do={
+ $LogPrintExit info ("Reloading global configuration and overlay.") false;
/ system script { run global-config; run global-config-overlay; }
}
:if ($ScriptVal->"name" = "global-functions") do={
+ $LogPrintExit info ("Reloading global functions.") false;
/ system script run global-functions;
}
} else={