aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/import.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2010-11-03 15:49:22 -0400
committerRuss Cox <rsc@swtch.com>2010-11-03 15:49:22 -0400
commitdc6625ea01a804a53bc946da70456a6252bfd2fc (patch)
treeb09279c6af2f5b5088bcaeda9b50ecbed29fcd8d /src/cmd/import.c
parentde2d77683ec42e0235ba4b6f0de5e668f24590c7 (diff)
downloadplan9port-dc6625ea01a804a53bc946da70456a6252bfd2fc.tar.gz
plan9port-dc6625ea01a804a53bc946da70456a6252bfd2fc.tar.bz2
plan9port-dc6625ea01a804a53bc946da70456a6252bfd2fc.zip
import: clean up correctly
R=rsc http://codereview.appspot.com/2875041
Diffstat (limited to 'src/cmd/import.c')
-rw-r--r--src/cmd/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/import.c b/src/cmd/import.c
index 117a5c2a..6b7152ba 100644
--- a/src/cmd/import.c
+++ b/src/cmd/import.c
@@ -262,6 +262,7 @@ shuffle(void *arg)
if(write(fd[1], buf, n) != n)
break;
}
+ threadexitsall(0);
}
void