From c09b1224fbc618f12a92deb196e5d5c50e2bedd4 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 13 Oct 2024 19:49:43 -0400 Subject: Ensures that we actually get all lpm output. --- plugins/plugin_manager/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua index 2b27d3a..95dbc6d 100644 --- a/plugins/plugin_manager/init.lua +++ b/plugins/plugin_manager/init.lua @@ -113,7 +113,7 @@ local function run(cmd, options) while true do local chunk = v[1]:read_stdout(2048) if config.plugins.plugin_manager.debug and chunk ~= nil then io.stdout:write(chunk) io.stdout:flush() end - if chunk and v[1]:running() and #chunk == 0 then break end + if chunk and #chunk == 0 then break end if chunk ~= nil and #chunk > 0 then v[3] = v[3] .. chunk progress_line, v[3] = extract_progress(v[3]) -- cgit v1.2.3