diff options
author | rsc <devnull@localhost> | 2006-01-19 00:05:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-01-19 00:05:56 +0000 |
commit | 89de2e575e2362556be1cb9904c9cde89f20b466 (patch) | |
tree | 465651e2d452a91b9b203f9e961e4ebe03603354 /src/cmd | |
parent | 5bd21066c5fa3a39816416f93186c88832957330 (diff) | |
download | plan9port-89de2e575e2362556be1cb9904c9cde89f20b466.tar.gz plan9port-89de2e575e2362556be1cb9904c9cde89f20b466.tar.bz2 plan9port-89de2e575e2362556be1cb9904c9cde89f20b466.zip |
ignore hangup signal
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9term/9term.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 0c5609bd..24a0a115 100644 --- 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; |