Skip to content

Commit

Permalink
Add logging for adjusting processes
Browse files Browse the repository at this point in the history
  • Loading branch information
nokyan committed Aug 12, 2024
1 parent b457447 commit f5de05c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ impl Process {

if let Ok(return_code) = result {
if return_code == 0 {
info!("Successfully adjusted {}", self.data.pid);
Ok(())
} else {
bail!("non-zero return code: {return_code}")
Expand Down

0 comments on commit f5de05c

Please sign in to comment.