Skip to content

Commit

Permalink
redirect stderr?
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Oct 10, 2023
1 parent e985ef8 commit d11f510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl RootBuilder for DnfRootBuilder {
}
options.append(&mut exclude.iter().map(|p| format!("--exclude={p}")).collect());

tracing::info!("Initializing system with dnf");
info!("Initializing system with dnf");
crate::chroot_run_cmd!(chroot,
dnf install -y --releasever=$releasever --installroot=$chroot $[packages] $[options] 2>&1;
dnf clean all --installroot=$chroot;
Expand Down
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ impl Auth {
args.push(password.to_string());
}

args.push(if self.create_home { "-m" } else { "-M" }.to_string());
if self.create_home {
args.push("-m".to_string());
} else {
Expand Down

0 comments on commit d11f510

Please sign in to comment.