Avoid confirmation for rebooting from SoftwareUpdater

It is pointless to ask for a second confirmation in SoftwareUpdater,
since the user understands that the system needs to be rebooted for the
changes to take effect.

Change-Id: I00c728264c32e3688e396e70925b90501ccac6de
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3185
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
Emir SARI
2020-09-02 13:27:22 +00:00
committed by Alex von Gluck IV
parent 4c1d001d51
commit fc1ace1563
@@ -329,7 +329,7 @@ SoftwareUpdaterWindow::MessageReceived(BMessage* message)
BRoster roster;
BRoster::Private rosterPrivate(roster);
status_t error = rosterPrivate.ShutDown(true, true, false);
status_t error = rosterPrivate.ShutDown(true, false, false);
if (error != B_OK) {
BAlert* alert = new BAlert("reboot request", B_TRANSLATE(
"For some reason, we could not reboot your computer."),