diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-22 22:15:46 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-22 22:15:46 +0200 |
commit | 3fddf98f1682b7c61b7c5e8543fa0665e38308f8 (patch) | |
tree | b28e4a30489b0d6fc37781fbc279230fa6d22a28 | |
parent | f4839beb7200eaa46fabdcb1a9000d4844520844 (diff) | |
download | luaotfload-3fddf98f1682b7c61b7c5e8543fa0665e38308f8.tar.gz |
fix return value of set_logout()
-rw-r--r-- | luaotfload-override.lua | 2 | ||||
-rwxr-xr-x | luaotfload-tool.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua index f647826..19cd505 100644 --- a/luaotfload-override.lua +++ b/luaotfload-override.lua @@ -134,9 +134,9 @@ local set_logout = function (s, finalizers) texiowrite_nl = texio.write_nl writeln = writeln_orig end - return finalizers --else --- remains “log” end + return finalizers end logs.set_logout = set_logout diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index ea6b525..155f764 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -1539,7 +1539,7 @@ local process_cmdline = function ( ) -- unit -> jobspec result.help_version = "mkluatexfontdb" action_pending["generate"] = true result.log_level = math.max(1, result.log_level) - logs.set_logout"stdout" + logs.set_logout("stdout", finalizers) elseif nopts == 0 then action_pending["help"] = true result.help_version = "short" |