svn commit: r330434 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Mon Mar 5 00:59:56 UTC 2018
Author: kevans
Date: Mon Mar 5 00:59:55 2018
New Revision: 330434
URL: https://svnweb.freebsd.org/changeset/base/330434
Log:
lualoader: Add note about importance of including the cli module early
Modified:
head/stand/lua/loader.lua
Modified: head/stand/lua/loader.lua
==============================================================================
--- head/stand/lua/loader.lua Mon Mar 5 00:43:53 2018 (r330433)
+++ head/stand/lua/loader.lua Mon Mar 5 00:59:55 2018 (r330434)
@@ -29,6 +29,10 @@
-- $FreeBSD$
--
+-- The cli module should be included first here. Some of the functions that it
+-- defines are necessary for the Lua-based loader to operate in general.
+-- Other modules will also need some of the functions it defines to safely
+-- execute loader commands.
require("cli")
local core = require("core")
local config = require("config")
More information about the svn-src-all
mailing list