summaryrefslogtreecommitdiff
path: root/mailutils/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r--mailutils/mail.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c
index 5eb99e13d..bcd358302 100644
--- a/mailutils/mail.c
+++ b/mailutils/mail.c
@@ -54,9 +54,7 @@ void FAST_FUNC launch_helper(const char **argv)
54 + (1 << SIGALRM) 54 + (1 << SIGALRM)
55 , signal_handler); 55 , signal_handler);
56 56
57 G.helper_pid = vfork(); 57 G.helper_pid = xvfork();
58 if (G.helper_pid < 0)
59 bb_perror_msg_and_die("vfork");
60 58
61 i = (!G.helper_pid) * 2; // for parent:0, for child:2 59 i = (!G.helper_pid) * 2; // for parent:0, for child:2
62 close(pipes[i + 1]); // 1 or 3 - closing one write end 60 close(pipes[i + 1]); // 1 or 3 - closing one write end