HomeFreeBSD

lualoader: Simplify some expressions

Description

lualoader: Simplify some expressions

  • No need for a 'goto' when our entire loop body is then wrapped in a conditional.
  • No need to leave commented out prints laying around
  • If an expression is clearly going to be either nil or an expression that isn't likely to be a boolean, we might as well use or to specify a default value for the expression. e.g. loader.getenv(...) or "no"

Details

Provenance
kevansAuthored on
Parents
rS331856: lualoader: revert whitespace change that snuck in
Branches
Unknown
Tags
Unknown