You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by sm...@apache.org on 2025/03/19 14:38:03 UTC
(trafficcontrol) 02/05: Disable chkconfig check - Enable SystemV systemd to work
This is an automated email from the ASF dual-hosted git repository.
smalenfant pushed a commit to branch sm/tomcat-CVE-2025-24813
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit ce64f5abbdebcba3366e70b2da384dc3d3118c38
Author: Steve Malenfant <sm...@apache.org>
AuthorDate: Wed Feb 19 15:03:39 2025 +0000
Disable chkconfig check - Enable SystemV systemd to work
---
cache-config/t3c-apply/config/config.go | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cache-config/t3c-apply/config/config.go b/cache-config/t3c-apply/config/config.go
index 7f977cec1e..2a0b6f315c 100644
--- a/cache-config/t3c-apply/config/config.go
+++ b/cache-config/t3c-apply/config/config.go
@@ -741,9 +741,8 @@ func getOSSvcManagement() SvcManagement {
_svcManager = SystemD
} else if isCommandAvailable(Service) {
_svcManager = SystemV
- }
- if !isCommandAvailable(Chkconfig) {
- return Unknown
+ } else {
+ return Unknown
}
// we have what we need