summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-01 15:57:21 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-01 15:58:21 +0200
commitd5a745df4da6265e32db667807b4f7214cac95f0 (patch)
treecbbe77ae2e8d3bfb14dc82682cc158059a8d65ca
parent398f7c881b90d2ca4edafcb60dba3822eb9f73eb (diff)
logind: fix indentation
-rw-r--r--src/login/logind-dbus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index f4b232b9ae..17bd5e5c3c 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);