Run fwupdmgr update (fix #668) (#677)

* Run fwupdmgr update (fix #668)

* Pass --y to fwupdmgr
This commit is contained in:
Roey Darwish Dror
2021-03-23 06:33:30 +02:00
committed by GitHub
parent f9002b417c
commit 572e8ffdf4
2 changed files with 13 additions and 12 deletions

View File

@@ -333,7 +333,7 @@ fn run() -> Result<()> {
runner.execute(Step::System, "pihole", || {
linux::run_pihole_update(sudo.as_ref(), run_type)
})?;
runner.execute(Step::Firmware, "Firmware upgrades", || linux::run_fwupdmgr(run_type))?;
runner.execute(Step::Firmware, "Firmware upgrades", || linux::run_fwupdmgr(&ctx))?;
runner.execute(Step::Restarts, "Restarts", || {
linux::run_needrestart(sudo.as_ref(), run_type)
})?;