Fix for bug #88.
#include <errno.h>
#include <getopt.h>
#include <limits.h>
+#include <signal.h>
#include <stdlib.h>
#include <string.h>
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");
#include <poll.h>
#include <regex.h>
#include <stdlib.h>
+#include <signal.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
time_init();
vlog_init();
parse_options(argc, argv, &s);
+ signal(SIGPIPE, SIG_IGN);
/* Start listening for management connections. */
if (s.listen_vconn_name) {
#include <errno.h>
#include <getopt.h>
#include <limits.h>
+#include <signal.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
time_init();
vlog_init();
parse_options(argc, argv);
+ signal(SIGPIPE, SIG_IGN);
if (argc - optind != 1) {
fatal(0, "missing controller argument; use --help for usage");
time_init();
vlog_init();
parse_options(argc, argv);
+ signal(SIGPIPE, SIG_IGN);
argc -= optind;
argv += optind;