]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/lua: Correct some trivial errors in config
authorkevans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 04:22:36 +0000 (04:22 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 04:22:36 +0000 (04:22 +0000)
commit0afa86db89b830ddac668a05cbffbcee2faaa8ff
treee7a7555ef996f577b98b296ef936362ee6edf11e
parentea1a599826c42a08ba1700137906661e53bc0670
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