Skip to content

Commit

Permalink
Disable user interaction during offline upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Jan 30, 2023
1 parent 83b5ac7 commit 41194dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/SystemUpgrade.vala
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public class SettingsDaemon.Backends.SystemUpgrade : GLib.Object {
}

debug ("Set PackageKit reboot action");
Pk.offline_trigger (Pk.OfflineAction.REBOOT, cancellable);
Pk.offline_trigger_with_flags (Pk.OfflineAction.REBOOT, Pk.OfflineFlags.NONE, cancellable);

if (cancellable.is_cancelled ()) {
Inhibitor.get_instance ().uninhibit ();
Expand Down

0 comments on commit 41194dd

Please sign in to comment.