From d5a745df4da6265e32db667807b4f7214cac95f0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 1 Jun 2012 15:57:21 +0200 Subject: [PATCH] logind: fix indentation --- src/login/logind-dbus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index f4b232b9a..17bd5e5c3 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -1088,11 +1088,11 @@ static int bus_manager_can_shutdown_or_sleep( if (r > 0) result = "yes"; - else if (challenge) - result = "challenge"; - else - result = "no"; - } + else if (challenge) + result = "challenge"; + else + result = "no"; + } if (blocked) { r = verify_polkit(connection, message, action_ignore_inhibit, false, &challenge, error); -- 2.30.2