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:
Peter Hutterer 2015-01-07 14:09:00 +10:00
parent 2b00d24a94
commit 01b0c8fbf5

View file

@ -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 */