From d95a065e3d7b71b1cd6ca15d22714cea1972b5db Mon Sep 17 00:00:00 2001 From: nibon7 Date: Thu, 14 Jul 2022 19:20:54 +0800 Subject: [PATCH] Fix ps command on linux (#6047) Fixes #6042 Signed-off-by: nibon7 --- crates/nu-system/src/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-system/src/linux.rs b/crates/nu-system/src/linux.rs index 48e09da55..1984623c1 100644 --- a/crates/nu-system/src/linux.rs +++ b/crates/nu-system/src/linux.rs @@ -93,8 +93,8 @@ pub fn collect_proc(interval: Duration, with_thread: bool) -> Vec { if let Ok(iter) = proc.tasks() { collect_task(iter, &mut base_tasks); } - base_procs.push((proc.pid(), proc, io, time)); } + base_procs.push((proc.pid(), proc, io, time)); // match proc { // Ok(p) => { // let io = p.io().ok();