diff options
Diffstat (limited to 'config/pkgit.lua')
| -rw-r--r-- | config/pkgit.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/pkgit.lua b/config/pkgit.lua index 718e761..3cb894d 100644 --- a/config/pkgit.lua +++ b/config/pkgit.lua @@ -5,7 +5,8 @@ local M = {} function M.run(items, verbose) local cmd = io.popen('set -e &&\n'..table.concat(items,"&&\n")) if cmd == nil then return 1 end - if verbose then print(cmd:read("*a")) end + output = cmd:read("*a") + if verbose then print(output) end local rc = {cmd:close()} if rc[1] then return 0 else return 1 |
