summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/main.c')
-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[])
should_discover = 0;
set_signal_handlers();
+ signal(SIGPIPE, SIG_IGN);
res = lfd = open(lockfile, O_WRONLY|O_CREAT, 0644);
if(res == -1) {