summaryrefslogtreecommitdiff
path: root/tex/context/base/core-uti.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-uti.lua')
-rw-r--r--tex/context/base/core-uti.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/core-uti.lua b/tex/context/base/core-uti.lua
index 20c63efd1..98e60be2e 100644
--- a/tex/context/base/core-uti.lua
+++ b/tex/context/base/core-uti.lua
@@ -239,7 +239,10 @@ function job.load(filename)
if version ~= jobs.version then
logs.report("job","version mismatch with jobfile: %s <> %s", version or "?", jobs.version)
else
- loadstring(data)()
+ local data = loadstring(data)
+ if data then
+ data()
+ end
for l=1,#savelist do
local list = savelist[l]
local target, initializer = list[1], list[3]