Re: svn commit: r329585 - head/stand/lua

2018-02-19 Thread Kyle Evans
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

Re: svn commit: r329585 - head/stand/lua

2018-02-19 Thread Alexander Nasonov
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