chiark / gitweb /
systemctl: fix enable/disable reply handling
[elogind.git] / src / login / logind-button.c
index 7ea4e4f6adf0b3bf92d4acf731972a20b9958c2c..3dd08294862da3e836f9013d8663390c957fb36c 100644 (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) {