Prevent the secchan from dying due to SIGPIPE.

Fix for bug #88.
This commit is contained in:
Ben Pfaff committed 2008-08-12 16:21:45 -07:00
1 parent c9b82cb59c
commit 69abd4346d
4 files changed
+7

No files matched your search

+2
View File
@@ -36,6 +36,7 @@
#include <errno.h>
#include <getopt.h>
#include <limits.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
@@ -93,6 +94,7 @@ main(int argc, char *argv[])
time_init();
vlog_init();
parse_options(argc, argv);
signal(SIGPIPE, SIG_IGN);
if (argc - optind < 1) {
fatal(0, "at least one vconn argument required; use --help for usage");