summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind-button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-button.c b/src/login/logind-button.c
index 7ea4e4f6ad..3dd0829486 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) {