aboutsummaryrefslogtreecommitdiff
path: root/stand/lua/cli.lua
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-04-28 02:08:55 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-04-28 02:08:55 +0000
commitcc0380718e31440e20f8fda07cc2b80145d4dd70 (patch)
tree11f952f6fb503a23165fb8eddb62d4cc13fa1912 /stand/lua/cli.lua
parente40d2a04ea73ba677d4e22f76f59ebb39f230265 (diff)
Notes
Diffstat (limited to 'stand/lua/cli.lua')
-rw-r--r--stand/lua/cli.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua
index 62fac3f52bd1..4b2a879d87e2 100644
--- a/stand/lua/cli.lua
+++ b/stand/lua/cli.lua
@@ -127,6 +127,9 @@ end
cli['read-conf'] = function(...)
local _, argv = cli.arguments(...)
+ -- Don't trigger a reload of previously loaded loader_conf_files, in
+ -- case this config file doesn't set it.
+ loader.setenv("loader_conf_files", "")
config.readConfFiles(assert(core.popFrontTable(argv)), {})
end