Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 00:59:55 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330434 - head/stand/lua
Message-ID:  <201803050059.w250xtm8091061@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803050059.w250xtm8091061>