diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 16:24:53 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 16:24:53 +0200 |
| commit | 3d6f441673de51cdd419cd2fd74f4e22f47b0617 (patch) | |
| tree | d7b5c6836830017f55ed8eeb1a8e1f57e7114475 /lib/Plugins/Mailx.cpp | |
| parent | 4c2a95c3e1e29cf6e99d85e368b4ef457150986d (diff) | |
| download | abrt-3d6f441673de51cdd419cd2fd74f4e22f47b0617.tar.gz abrt-3d6f441673de51cdd419cd2fd74f4e22f47b0617.tar.xz abrt-3d6f441673de51cdd419cd2fd74f4e22f47b0617.zip | |
fork_execv_on_steroids: close other end of the pipe in the child
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
| -rw-r--r-- | lib/Plugins/Mailx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
