]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/lua: Correct some trivial errors in config
authorKyle Evans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 04:22:36 +0000 (04:22 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 04:22:36 +0000 (04:22 +0000)
commitc990f0a990f92a913e4eb82244513b9457ce5597
treee7a7555ef996f577b98b296ef936362ee6edf11e
parentbcf48a159eaaa607446753c48aeb2cf922d740ce
stand/lua: Correct some trivial errors in config

An empty module_path to start with isn't ideal, but if all modules are
contained within a kernel directory (which is what we just tested) then it
isn't strictly an error. Don't assume that module_path has a value already.

When we fail to load the kernel, printing the result (which is guaranteed to
be nil) is not intended; print the name of the kernel.
stand/lua/config.lua