summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Otto <th1000s@posteo.net>2021-12-22 23:35:47 +0100
committerDan Davison <dandavison7@gmail.com>2022-01-03 17:28:27 -0500
commit15d7bb8cf0b3973719a97fa206ac94e5b46e0ede (patch)
tree742345a52758adfa1538e92fb07d3205bd99c1af
parent8f2a8ce4964253718087bed008bc13fb161e28c6 (diff)
Re-enable full process scans on Linux
-rw-r--r--src/utils/process.rs9
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,
}