diff options
-rw-r--r-- | src/hs_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c index 4ec51aef4..e57859696 100644 --- a/src/hs_helper.c +++ b/src/hs_helper.c @@ -154,8 +154,8 @@ rspamd_hs_helper_cleanup_dir (struct hs_helper_ctx *ctx, gboolean forced) !rspamd_re_cache_is_valid_hyperscan_file (ctx->cfg->re_cache, globbuf.gl_pathv[i], TRUE, TRUE, &err)) { if (unlink (globbuf.gl_pathv[i]) == -1) { - msg_err ("cannot unlink %s: %s (reason for expiration: %e)", globbuf.gl_pathv[i], - strerror(errno)); + msg_err ("cannot unlink %s: %s; reason for expiration: %e", globbuf.gl_pathv[i], + strerror(errno), err); ret = FALSE; } else { |