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

This commit is contained in:
Lennart Poettering
2013-12-08 21:24:11 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent 16ba284432
commit 4215779638
+1 -1
View File
@@ -172,7 +172,7 @@ static int button_handle(
* execute another one until the lid is opened/closed again */
b->lid_close_queued = false;
return r;
return 0;
}
int button_process(Button *b) {