summaryrefslogtreecommitdiffstats
path: root/src/hs_helper.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-09 15:46:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-09 15:46:20 +0000
commit51c2dbec80f7b8e637139d82ee68edaaa739181a (patch)
tree4d11e1178f236b7f110adbe6f74a6f70d8062f8c /src/hs_helper.c
parentdacc1cecdae3c90d0176e285cc018280227abcc3 (diff)
downloadrspamd-51c2dbec80f7b8e637139d82ee68edaaa739181a.tar.gz
rspamd-51c2dbec80f7b8e637139d82ee68edaaa739181a.zip
Add silent mode for hyperscan validity checks
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r--src/hs_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c
index ab90b8334..4d89bedf8 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -106,7 +106,7 @@ rspamd_hs_helper_cleanup_dir (struct hs_helper_ctx *ctx)
if ((rc = glob (pattern, GLOB_DOOFFS, NULL, &globbuf)) == 0) {
for (i = 0; i < globbuf.gl_pathc; i++) {
if (!rspamd_re_cache_is_valid_hyperscan_file (ctx->cfg->re_cache,
- globbuf.gl_pathv[i])) {
+ globbuf.gl_pathv[i], TRUE)) {
if (unlink (globbuf.gl_pathv[i]) == -1) {
msg_err ("cannot unlink %s: %s", globbuf.gl_pathv[i],
strerror (errno));