From 01b0c8fbf58607638765bc19d8e6b38c29635cd1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 7 Jan 2015 14:09:00 +1000 Subject: [PATCH] tools: fail if we can't set up signal handlers in event-debug Signed-off-by: Peter Hutterer --- tools/event-debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/event-debug.c b/tools/event-debug.c index 8fbea24..c567550 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -351,6 +351,7 @@ mainloop(struct libinput *li) sigprocmask(SIG_BLOCK, &mask, NULL) == -1) { fprintf(stderr, "Failed to set up signal handling (%s)\n", strerror(errno)); + return; } /* Handle already-pending device added events */ -- 2.7.4