diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-26 18:54:00 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-26 18:54:00 +0000 |
commit | f94f327411ada1a7c8ed4033f5230ef7cdabb64e (patch) | |
tree | 834b31e21da105d872a2fd3127e68bf7aa7c75dd /mh/mhn.c | |
parent | 9b3ffb9725a770e2e97bc9cd10e0bff6b17d959c (diff) | |
download | mailutils-f94f327411ada1a7c8ed4033f5230ef7cdabb64e.tar.gz mailutils-f94f327411ada1a7c8ed4033f5230ef7cdabb64e.tar.bz2 |
(main): Ignore sighups.
Diffstat (limited to 'mh/mhn.c')
-rw-r--r-- | mh/mhn.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,7 @@ /* MH mhn command */ #include <mh.h> +#include <signal.h> #include <mailutils/mime.h> #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free @@ -2509,6 +2510,8 @@ main (int argc, char **argv) argc -= index; argv += index; + signal (SIGPIPE, SIG_IGN); + if (input_file) { if (argc) |