On Mon, Feb 19, 2018 at 3:54 PM, Alexander Nasonov wrote:
> Kyle Evans wrote:
>> +function core.isSingleUserBoot()
>> + local single_user = loader.getenv("boot_single");
>> + return single_user ~= nil and single_user:lower() == "yes";
>> +end
>
> Just curious, why do you end all lines with
Kyle Evans wrote:
> +function core.isSingleUserBoot()
> + local single_user = loader.getenv("boot_single");
> + return single_user ~= nil and single_user:lower() == "yes";
> +end
Just curious, why do you end all lines with semi-colons? It's not very
common in Lua code.
This version looks
Author: kevans
Date: Mon Feb 19 16:34:23 2018
New Revision: 329585
URL: https://svnweb.freebsd.org/changeset/base/329585
Log:
stand/lua: Add core.isSingleUserBoot
Modified:
head/stand/lua/core.lua
Modified: head/stand/lua/core.lua
=