aboutsummaryrefslogtreecommitdiff
path: root/src/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirax.c')
-rw-r--r--src/dirax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirax.c b/src/dirax.c
index 626560da..35a2b1ce 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);
- waitpid(dirax->pid, &status, __WNOTHREAD);
+ waitpid(dirax->pid, &status, 0);
free(dirax);
}