aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/xargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/xargs.c')
-rw-r--r--toys/posix/xargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/xargs.c b/toys/posix/xargs.c
index 8178bf0c..50c42620 100644
--- a/toys/posix/xargs.c
+++ b/toys/posix/xargs.c
@@ -168,7 +168,7 @@ void xargs_main(void)
for (dtemp = dlist; dtemp; dtemp = dtemp->next)
handle_entries(dtemp->data, out+entries);
- pid_t pid=xfork();
+ pid_t pid=xvfork();
if (!pid) {
xclose(0);
open("/dev/null", O_RDONLY);