Commit Diff


commit - f002cc17a63794af58bfde55a95b7c7fd6551d9a
commit + ad00bb91b9e6c97e9605e623fb3b39d89aa41935
blob - 917712784941252e33ebc59a8d8fc8d555e948e7
blob + 0e64e1438595fbed3c1dab76dc8d1e318aa68636
--- src/cmd/9term/9term.c
+++ 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);
 }