From: Victor Julien Date: Fri, 12 May 2023 14:05:20 +0000 (+0200) Subject: profiling/rules: minor fatal error cleanup X-Git-Tag: suricata-7.0.0-rc2~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e0d2ff29a29e4d670b886e2540e783110aaa32a;p=thirdparty%2Fsuricata.git profiling/rules: minor fatal error cleanup --- 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(); \