summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gluster-blockd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gluster-blockd.c b/daemon/gluster-blockd.c
index 3c38798..6a86c42 100644
--- a/daemon/gluster-blockd.c
+++ b/daemon/gluster-blockd.c
@@ -206,6 +206,9 @@ main (int argc, char **argv)
exit(errnosv);
}
+ /* set signal */
+ signal(SIGPIPE, SIG_IGN);
+
pmap_unset(GLUSTER_BLOCK_CLI, GLUSTER_BLOCK_CLI_VERS);
pmap_unset(GLUSTER_BLOCK, GLUSTER_BLOCK_VERS);