[systemd-commits] src/login

Lennart Poettering lennart at kemper.freedesktop.org
Sun Nov 10 14:05:40 PST 2013


 src/login/logind-button.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95056b27a05c527f4724b6c52abb2a7a69a3a5d0
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sun Nov 10 23:05:08 2013 +0100

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

diff --git a/src/login/logind-button.c b/src/login/logind-button.c
index 7ea4e4f..3dd0829 100644
--- a/src/login/logind-button.c
+++ b/src/login/logind-button.c
@@ -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) {



More information about the systemd-commits mailing list