plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 89de2e575e2362556be1cb9904c9cde89f20b466
parent 5bd21066c5fa3a39816416f93186c88832957330
Author: rsc <devnull@localhost>
Date:   Thu, 19 Jan 2006 00:05:56 +0000

ignore hangup signal

Diffstat:
Msrc/cmd/9term/9term.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c @@ -130,10 +130,8 @@ hangupnote(void *a, char *msg) { if(getpid() != mainpid) noted(NDFLT); - if(strcmp(msg, "hangup") == 0 && rcpid != 0){ - postnote(PNGROUP, rcpid, "hangup"); - noted(NDFLT); - } + if(strcmp(msg, "hangup") == 0) + noted(NCONT); if(strstr(msg, "child")){ char buf[128]; int n;