Commit f94f3274 f94f327411ada1a7c8ed4033f5230ef7cdabb64e by Sergey Poznyakoff

(main): Ignore sighups.

1 parent 9b3ffb97
Showing 1 changed file with 3 additions and 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)
......