aboutsummaryrefslogtreecommitdiff
path: root/backend/session/logind.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r--backend/session/logind.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c
index 0b5b2a63..1ece051f 100644
--- a/backend/session/logind.c
+++ b/backend/session/logind.c
@@ -330,7 +330,9 @@ static bool add_signal_matches(struct logind_session *session) {
static int dbus_event(int fd, uint32_t mask, void *data) {
sd_bus *bus = data;
- while (sd_bus_process(bus, NULL) > 0);
+ while (sd_bus_process(bus, NULL) > 0) {
+ // Do nothing.
+ }
return 1;
}