diff options
author | Thomas Otto <th1000s@posteo.net> | 2021-12-22 23:35:47 +0100 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2022-01-03 17:28:27 -0500 |
commit | 15d7bb8cf0b3973719a97fa206ac94e5b46e0ede (patch) | |
tree | 742345a52758adfa1538e92fb07d3205bd99c1af /src/utils | |
parent | 8f2a8ce4964253718087bed008bc13fb161e28c6 (diff) |
Re-enable full process scans on Linux
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/process.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/utils/process.rs b/src/utils/process.rs index eac564e0..ed281d8d 100644 --- a/src/utils/process.rs +++ b/src/utils/process.rs @@ -444,13 +444,8 @@ where match info.find_sibling_in_refreshed_processes(my_pid, &extract_args) { None => { - #[cfg(test)] - { - info.refresh_processes(); - info.find_sibling_in_refreshed_processes(my_pid, &extract_args) - } - #[cfg(not(test))] - None + info.refresh_processes(); + info.find_sibling_in_refreshed_processes(my_pid, &extract_args) } some => some, } |