summaryrefslogtreecommitdiff
path: root/threadproc/netware/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/netware/proc.c')
-rw-r--r--threadproc/netware/proc.c2
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;