diff options
| -rw-r--r-- | mkelf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ local function main() i = i + 1 end local header, segments, sections = loadconfig(infn) - if next(header) == nil then die("header missing") end + if not header then die("header missing") end if header.phnum == 0 then header.phnum = #segments end if header.shnum == 0 then header.shnum = #sections end local out <close> = assert(io.open(outfn, "wb")) |
