From 378a1785f4b1115c13e3fa2c1403524e4955872b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 4 May 2020 11:06:02 +0200 Subject: global-functions: $ScriptInstallUpdate: log when reloading code --- global-functions | 2 ++ 1 file changed, 2 insertions(+) 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={ -- cgit v1.2.3-70-g09d2