diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-06-11 11:35:41 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-06-11 11:35:41 +0000 |
commit | 9dacb1f899279a8850dc592d405a7ed6a3ee7263 (patch) | |
tree | bcbe086271970d316ed6b559426fd5e8d30fb6b2 /threadproc/os2 | |
parent | 2cb686f67a983ec062fa74bb249a879658b0c81a (diff) | |
download | apr-9dacb1f899279a8850dc592d405a7ed6a3ee7263.tar.gz |
* We need to disable inheritance in the case of success like in the
cases for stdout and stdin.
Fixes the same issue fixed for unix in r783398
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@783722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r-- | threadproc/os2/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c index 9fa94dde1..96f76d699 100644 --- a/threadproc/os2/proc.c +++ b/threadproc/os2/proc.c @@ -99,7 +99,7 @@ APR_DECLARE(apr_status_t) apr_procattr_io_set(apr_procattr_t *attr, if ((err != APR_NO_PIPE) && (err != APR_NO_FILE)) { if ((rv = apr_file_pipe_create_ex(&attr->parent_err, &attr->child_err, - err, attr->pool)) != APR_SUCCESS) + err, attr->pool)) == APR_SUCCESS) rv = apr_file_inherit_unset(attr->parent_err); if (rv != APR_SUCCESS) return rv; |