summaryrefslogtreecommitdiffstats
path: root/src/utils/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/process.rs')
-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,
}