summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index d8ae703..789a202 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -440,6 +440,7 @@ int main(int argc, char *argv[])
440 should_discover = 0; 440 should_discover = 0;
441 441
442 set_signal_handlers(); 442 set_signal_handlers();
443 signal(SIGPIPE, SIG_IGN);
443 444
444 res = lfd = open(lockfile, O_WRONLY|O_CREAT, 0644); 445 res = lfd = open(lockfile, O_WRONLY|O_CREAT, 0644);
445 if(res == -1) { 446 if(res == -1) {