From ee15e552d017c88d130667c1136ce662551d507a Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 5 Mar 2018 00:59:55 +0000 Subject: [PATCH] lualoader: Add note about importance of including the cli module early --- stand/lua/loader.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stand/lua/loader.lua b/stand/lua/loader.lua index 963e7705c0da..863f7613b3da 100644 --- a/stand/lua/loader.lua +++ b/stand/lua/loader.lua @@ -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")