aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending')
-rw-r--r--toys/pending/sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/sh.c b/toys/pending/sh.c
index 499c5dbd..87f2f9ff 100644
--- a/toys/pending/sh.c
+++ b/toys/pending/sh.c
@@ -305,7 +305,7 @@ static void run_pipeline(struct pipeline *line)
} else {
int status;
- cmd->pid = vfork();
+ cmd->pid = xvfork();
if (!cmd->pid) xexec(cmd->argv);
else waitpid(cmd->pid, &status, 0);