diff --git a/lib/src/cli.rs b/lib/src/cli.rs index dcf6140b..8f301769 100644 --- a/lib/src/cli.rs +++ b/lib/src/cli.rs @@ -356,6 +356,10 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> { .unwrap_or_default(); if staged_unchanged { println!("Staged update present, not changed."); + + if opts.apply { + crate::reboot::reboot()?; + } } else if booted_unchanged { println!("No update available.") } else {