Skip to content

Commit

Permalink
🔨 chore: Update scan message (closes #200)
Browse files Browse the repository at this point in the history
  • Loading branch information
queer committed Jun 19, 2024
1 parent 18f8b05 commit e48726e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/enclosure/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ impl Enclosure {
loop {
let mut wstatus = -1;
let wpid = libc::wait(&mut wstatus);
if wpid == -1 && nix::errno::errno() != libc::ECHILD {
if wpid == -1 && Errno::last() != Errno::ECHILD {
warn!("!!! NOT ECHLD");
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fn scan_homedir(apps: Vec<App>) -> Result<()> {
warn!("report bad rules!! https://github.com/queer/boxxy/issues/new");
info!("rules generated: {}", rules.len());
info!(
"put relevant rules in your config file: {}",
"you can put relevant rules in your config file located at: {}",
BoxxyConfig::default_config_path()?.display()
);
}
Expand Down

0 comments on commit e48726e

Please sign in to comment.