deal with SIGPIPE so mhl doesn't print "Broken pipe" if you quit out
authorDan Harkless <dan@harkless.org>
Thu, 13 May 1999 01:26:41 +0000 (01:26 +0000)
committerDan Harkless <dan@harkless.org>
Thu, 13 May 1999 01:26:41 +0000 (01:26 +0000)
of the moreproc

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 {