diff options
Diffstat (limited to 'tex/context/base/mkiv/cont-run.lua')
-rw-r--r-- | tex/context/base/mkiv/cont-run.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/cont-run.lua b/tex/context/base/mkiv/cont-run.lua index eb0e143d5..8f990cca5 100644 --- a/tex/context/base/mkiv/cont-run.lua +++ b/tex/context/base/mkiv/cont-run.lua @@ -222,10 +222,12 @@ local function processjob() elseif overloadmode == "error" then overloadmode = 4 -- 6 else - overloadmode = tonumber(overloadmode) or 0 + overloadmode = tonumber(overloadmode) end - tex.set("overloadmode",overloadmode) + if overloadmode then + tex.set("overloadmode",overloadmode) + end end |