MODSEC-173

This commit is contained in:
brenosilva
2011-03-11 17:34:18 +00:00
parent fa8c45e7cb
commit 8b52a7d1e2

View File

@@ -626,7 +626,7 @@ void sec_audit_logger(modsec_rec *msr) {
* the folder is there.
*/
rc = apr_dir_make_recursive(entry_basename, msr->txcfg->auditlog_dirperms, msr->mp);
if (rc != APR_SUCCESS) {
if ((rc != APR_SUCCESS) && (rc != APR_EEXIST)) {
msr_log(msr, 1, "Audit log: Failed to create subdirectories: %s (%s)",
entry_basename, get_apr_error(msr->mp, rc));
return;