summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-10-26 23:05:35 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-10-26 23:05:35 +0000
commit0e6b0a3b0ca25b803e196bd1916af50db7237bd9 (patch)
tree15d23dc21c9e04b37c2ac839815a8cf50d620577 /src
parente081a6af171c82f7074bef2fa63515a5f897cb55 (diff)
downloadweechat-0e6b0a3b0ca25b803e196bd1916af50db7237bd9.zip
Signal SIGPIPE now ignored by WeeChat
Diffstat (limited to 'src')
-rw-r--r--src/common/weechat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/weechat.c b/src/common/weechat.c
index 52a2adedd..9e5bfcfe1 100644
--- a/src/common/weechat.c
+++ b/src/common/weechat.c
@@ -857,6 +857,7 @@ main (int argc, char *argv[])
signal (SIGINT, SIG_IGN); /* ignore SIGINT signal */
signal (SIGQUIT, SIG_IGN); /* ignore SIGQUIT signal */
+ signal (SIGPIPE, SIG_IGN); /* ignore SIGPIPE signal */
signal (SIGSEGV, my_sigsegv); /* crash dump when SIGSEGV is received */
gui_pre_init (&argc, &argv); /* pre-initiliaze interface */
wee_init_vars (); /* initialize some variables */