button: don't exit if we cannot handle a button press

This commit is contained in:
Lennart Poettering
2013-11-10 23:05:32 +01:00
parent 46b0925d4f
commit 95056b27a0
+1 -1
View File
@@ -113,7 +113,7 @@ static int button_handle(
* execute another one until the lid is opened/closed again */
b->lid_close_queued = false;
return r;
return 0;
}
static int button_dispatch(sd_event_source *s, int fd, uint32_t revents, void *userdata) {