mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 11:19:14 +02:00
tools: fail if we can't set up signal handlers in event-debug
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2b00d24a94
commit
01b0c8fbf5
1 changed files with 1 additions and 0 deletions
|
|
@ -351,6 +351,7 @@ mainloop(struct libinput *li)
|
||||||
sigprocmask(SIG_BLOCK, &mask, NULL) == -1) {
|
sigprocmask(SIG_BLOCK, &mask, NULL) == -1) {
|
||||||
fprintf(stderr, "Failed to set up signal handling (%s)\n",
|
fprintf(stderr, "Failed to set up signal handling (%s)\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle already-pending device added events */
|
/* Handle already-pending device added events */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue