diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-08-26 02:01:45 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-08-26 02:01:45 +0000 |
| commit | 2e9448622883af3c5aacd233846d68202c76d708 (patch) | |
| tree | 415d37af1745af9ac3b4e55dabcccaa1b37a910b /config/pkgit.lua | |
| parent | fa9e048dc65f246c165d820b983baf62d201c264 (diff) | |
fixed configindev
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 |
