diff options
author | rsc <devnull@localhost> | 2005-01-17 21:29:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-17 21:29:00 +0000 |
commit | 38c10d1abcab399ce3735ccf54672a5b6787165e (patch) | |
tree | 9a9a70c593a42f68837a5a02461e9d3ce31433bf /src/cmd/9term | |
parent | e33c70bc72fa4af9d2261ed6d864bd13b8af9be5 (diff) | |
download | plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.tar.gz plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.tar.bz2 plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.zip |
do not call exits in threaded programs
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 257b87ba..31c9f289 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -1064,7 +1064,7 @@ consread(void) */ s = setecho(sfd, 0); if(write(rcfd, buf, n) < 0) - exits(0); + threadexitsall(0); if(s) setecho(sfd, s); } |