From ad00bb91b9e6c97e9605e623fb3b39d89aa41935 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 17 Oct 2004 05:33:14 +0000 Subject: use threadexitsall --- src/cmd/9term/9term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/9term') 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); } -- cgit v1.2.3