diff options
author | Thomas White <taw@physics.org> | 2011-01-25 18:20:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:11 +0100 |
commit | 0cd968284566913321fa24a94e473150d652dfc5 (patch) | |
tree | d879d5da9cf1385865ebc85a330f377fd9f4ee75 /src/dirax.c | |
parent | 4cdabe2ffe4be188164a4b500980d5fdcfe9bd50 (diff) |
wait() for autoindexers properly
Diffstat (limited to 'src/dirax.c')
-rw-r--r-- | src/dirax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirax.c b/src/dirax.c index 46c14a78..626560da 100644 --- a/src/dirax.c +++ b/src/dirax.c @@ -515,7 +515,7 @@ void run_dirax(struct image *image) close(dirax->pty); free(dirax->rbuffer); - wait(&status); + waitpid(dirax->pid, &status, __WNOTHREAD); free(dirax); } |