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:
parent
2b4890c550
commit
e5fbf21fee
4 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue