From 3d6f441673de51cdd419cd2fd74f4e22f47b0617 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 4 May 2010 16:24:53 +0200 Subject: fork_execv_on_steroids: close other end of the pipe in the child Signed-off-by: Denys Vlasenko --- lib/Plugins/Mailx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Plugins/Mailx.cpp') diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index f9dd2cca..fc869546 100644 --- a/lib/Plugins/Mailx.cpp +++ b/lib/Plugins/Mailx.cpp @@ -38,7 +38,7 @@ static void exec_and_feed_input(uid_t uid, const char* pText, char **pArgs) int pipein[2]; pid_t child = fork_execv_on_steroids( - EXECFLG_INPUT | EXECFLG_QUIET | EXECFLG_SETGUID, + EXECFLG_INPUT | EXECFLG_QUIET | EXECFLG_SETGUID, pArgs, pipein, /*unsetenv_vec:*/ NULL, -- cgit