diff options
Diffstat (limited to 'Master/bin')
-rw-r--r-- | Master/bin/win32/runscript.tlu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index 5043c9c00e9..00c412d1a80 100644 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -571,11 +571,11 @@ end if (type(program) == 'table') then
local ret = assert(os.spawn(program))
if ret ~= 0 then
- local dbginfo = debug.getinfo(1) + local dbginfo = debug.getinfo(1)
local errormsg = string.format("%s:%d: command failed with exit code %d:\n%s",
dbginfo.short_src, dbginfo.currentline - 2, ret, table.concat(program, ' ') )
- os.setenv('RUNSCRIPT_ERROR_MESSAGE', errormsg) - io.stderr:write(errormsg, '\n') + os.setenv('RUNSCRIPT_ERROR_MESSAGE', errormsg)
+ io.stderr:write(errormsg, '\n')
end
os.exit(ret)
elseif (type(program) == 'string') then
|