diff options
-rw-r--r-- | src/gtk-logout-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk-logout-helper.c b/src/gtk-logout-helper.c index 12f2198..b013a8f 100644 --- a/src/gtk-logout-helper.c +++ b/src/gtk-logout-helper.c @@ -70,11 +70,11 @@ logind_fallback (LogoutDialogType action) break; case LOGOUT_DIALOG_TYPE_SHUTDOWN: g_debug("Telling logind to 'PowerOff'"); - result = call_logind ("PowerOff", g_variant_new ("(b)", FALSE), &error); + result = call_logind ("PowerOff", g_variant_new ("(b)", TRUE), &error); break; case LOGOUT_DIALOG_TYPE_RESTART: g_debug("Telling logind to 'Reboot'"); - result = call_logind ("Reboot", g_variant_new ("(b)", FALSE), &error); + result = call_logind ("Reboot", g_variant_new ("(b)", TRUE), &error); break; default: g_warning("Unknown action"); |