Skip to content

Commit

Permalink
Ensure errorlevel is always set up
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed May 6, 2024
1 parent 8a72956 commit 5bc4936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l3build-typesetting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ function docinit_hook() return 0 end
-- Typeset all required documents
-- Uses a set of dedicated auxiliaries that need to be available to others
function doc(files)
local errorlevel = 0
if not options["rerun"] then
local errorlevel = docinit()
errorlevel = docinit()
end
if errorlevel ~= 0 then return errorlevel end
local done = {}
Expand Down

0 comments on commit 5bc4936

Please sign in to comment.