aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-12-07 15:40:14 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-12-07 21:58:03 +0100
commit1f5cc39b3cb388e69e479d8b2b1a774c2abde37d (patch)
treeb08a4ea23ea38c126c2e757c66ce7fcea4c7a117 /global-functions
parent8f8130775f9dc2590e3408621c8a5ceb80b76d76 (diff)
global-config: load overlay automatically
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/global-functions b/global-functions
index ba6419d..b313b70 100644
--- a/global-functions
+++ b/global-functions
@@ -777,11 +777,11 @@
}
:if ($ReloadGlobalConfig = true) do={
- $LogPrintExit2 info $0 ("Reloading global configuration and overlay.") false;
+ $LogPrintExit2 info $0 ("Reloading global configuration.") false;
:do {
- / system script { run global-config; run global-config-overlay; }
+ / system script run global-config;
} on-error={
- $LogPrintExit2 error $0 ("Reloading global configuration and overlay failed!" . \
+ $LogPrintExit2 error $0 ("Reloading global configuration failed!" . \
" Syntax error or missing overlay\?") false;
}
}
@@ -838,7 +838,7 @@
:local NotificationMessage ("Current configuration on " . $Identity . \
" is out of date. Please update global-config-overlay, then increase " . \
"\$GlobalConfigVersion (currently " . $GlobalConfigVersion . \
- ") to " . $ExpectedConfigVersion . " and re-run global-config-overlay.");
+ ") to " . $ExpectedConfigVersion . " and re-run global-config.");
$LogPrintExit2 info $0 ($NotificationMessage) false;
:if ([ :len $GlobalConfigChanges ] > 0) do={