summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/context/lua/mtx-modules.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/context/lua/mtx-modules.lua')
-rw-r--r--Master/texmf-dist/scripts/context/lua/mtx-modules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/context/lua/mtx-modules.lua b/Master/texmf-dist/scripts/context/lua/mtx-modules.lua
index ef38a715673..f4003c1db12 100644
--- a/Master/texmf-dist/scripts/context/lua/mtx-modules.lua
+++ b/Master/texmf-dist/scripts/context/lua/mtx-modules.lua
@@ -69,7 +69,7 @@ local find, format, sub, is_empty, strip, gsub = string.find, string.format, str
local function source_to_ted(inpname,outname,filetype)
local data = io.loaddata(inpname)
- if data == "" then
+ if not data or data == "" then
report("invalid module name '%s'",inpname)
return
end