diff options
author | Dan Davison <dandavison7@gmail.com> | 2022-02-20 11:24:54 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2022-02-20 11:30:09 -0500 |
commit | 2db54632c73d2e19e4fcb4e0e74f2ad82c390738 (patch) | |
tree | 47a31087665dccf8ea24d2b448a3087c523d3a0f | |
parent | 963e32bf8708c4e637f89f1ae8f775f0e4e1fff8 (diff) |
Revert "Re-enable full process scans on Linux"
This reverts commit 15d7bb8cf0b3973719a97fa206ac94e5b46e0ede.
-rw-r--r-- | src/utils/process.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/utils/process.rs b/src/utils/process.rs index a2984090..daefe76c 100644 --- a/src/utils/process.rs +++ b/src/utils/process.rs @@ -508,8 +508,13 @@ where match info.find_sibling_in_refreshed_processes(my_pid, &extract_args) { None => { - info.refresh_processes(); - info.find_sibling_in_refreshed_processes(my_pid, &extract_args) + #[cfg(test)] + { + info.refresh_processes(); + info.find_sibling_in_refreshed_processes(my_pid, &extract_args) + } + #[cfg(not(test))] + None } some => some, } |