Re-enable full process scans on Linux

This commit is contained in:
Thomas Otto 2021-12-22 23:35:47 +01:00 committed by Dan Davison
parent 8f2a8ce496
commit 15d7bb8cf0

View File

@ -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,
}