git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89602
13f79535-47bb-0310-9956-
ffa450edef68
else {
fname = ap_server_root_relative(p, s->error_fname);
rc = apr_file_open(&s->error_log, fname,
- APR_APPEND | APR_READ | APR_WRITE | APR_CREATE | APR_INHERIT,
+ APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
APR_OS_DEFAULT, p);
if (rc != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
ap_server_argv0, fname);
exit(1);
}
+ apr_file_set_inherit(s->error_log);
}
}