mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-03 20:21:33 +00:00
button: don't exit if we cannot handle a button press
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
16ba284432
commit
4215779638
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user