From 3e0d2ff29a29e4d670b886e2540e783110aaa32a Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 12 May 2023 16:05:20 +0200 Subject: [PATCH] profiling/rules: minor fatal error cleanup --- src/util-profiling.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util-profiling.h b/src/util-profiling.h index dbcd89489a..6450bc8cef 100644 --- a/src/util-profiling.h +++ b/src/util-profiling.h @@ -410,8 +410,7 @@ void SCProfilingRuleThreatAggregate(DetectEngineThreadCtx *det_ctx); uint64_t profile_rule_end_ = 0; \ if (profiling_rules_enabled && SCProfileRuleStart((p))) { \ if (profiling_rules_entered > 0) { \ - SCLogError("Re-entered profiling, exiting."); \ - exit(1); \ + FatalError("Re-entered profiling, exiting."); \ } \ profiling_rules_entered++; \ profile_rule_start_ = UtilCpuGetTicks(); \