aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/9term.c6
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;