diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-06-11 11:38:10 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-06-11 11:38:10 +0000 |
commit | ad67ed01e13eadec2f9531ec71dca8bf0ca82b9f (patch) | |
tree | 36db0e49b6b3bf906bbdd46c7a6bd984cf736262 /threadproc/netware/proc.c | |
parent | f78ace75ad23ec9b422686869f647979c641e166 (diff) | |
download | apr-ad67ed01e13eadec2f9531ec71dca8bf0ca82b9f.tar.gz |
Merge r783722 from trunk:
* 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
Submitted by: rpluem
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@783725 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/netware/proc.c')
-rw-r--r-- | threadproc/netware/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c index 5fb26913c..026ca6fd7 100644 --- a/threadproc/netware/proc.c +++ b/threadproc/netware/proc.c @@ -95,7 +95,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; |