Remove debug prints that probably shouldn't have been merged

Also add a comment to the one place `eprintln!` is used to explain why
it's appropriate.
This commit is contained in:
Ian Douglas Scott 2025-07-02 18:46:01 -07:00 committed by Victoria Brekenfeld
parent 2b4890c550
commit e5fbf21fee
4 changed files with 3 additions and 3 deletions

View file

@ -25,6 +25,7 @@ pub fn restore_nofile_limit() {
};
if let Err(err) = setrlimit(Resource::Nofile, limits) {
// Use `eprintln!` instead of `tracing` since this is used in `pre_exec`.
eprintln!("Failed to restore nofile soft limit: {:?}", err);
}
}