mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
MODSEC-173
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user