Dnf arguments (fix #314) (#405)

This commit is contained in:
Roey Darwish Dror
2020-05-14 09:22:14 +03:00
committed by GitHub
parent cf34294a32
commit 819447dcdf
4 changed files with 45 additions and 21 deletions

View File

@@ -119,7 +119,7 @@ fn run() -> Result<()> {
if config.should_run(Step::System) {
match &distribution {
Ok(distribution) => {
runner.execute("System update", || distribution.upgrade(&sudo, run_type, &config))?;
runner.execute("System update", || distribution.upgrade(&ctx))?;
}
Err(e) => {
println!("Error detecting current distribution: {}", e);