aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/9term/9term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 91771278..0e64e143 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -303,7 +303,7 @@ hangupnote(void *a, char *msg)
}
if(strstr(msg, "child")){
/* bug: do better */
- exits(0);
+ threadexitsall(0);
}
noted(NDFLT);
}