deal with SIGPIPE so mhl doesn't print "Broken pipe" if you quit out
[mmh] / uip / mhlsbr.c
index 18617d3..e075322 100644 (file)
@@ -434,6 +434,7 @@ mhl (int argc, char **argv)
                SIGNAL (SIGINT, SIG_IGN);
                SIGNAL2 (SIGQUIT, quitser);
            }
+           SIGNAL2 (SIGPIPE, pipeser);
            m_popen (moreproc);
            ontty = PITTY;
        } else {