This is an automated email from the ASF dual-hosted git repository.

smalenfant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 7776d519a9 Removing check for chkconfig (#7861)
7776d519a9 is described below

commit 7776d519a9aaced76b168068a55f3d81c12d64df
Author: Steve Malenfant <[email protected]>
AuthorDate: Wed Feb 19 10:37:09 2025 -0500

    Removing check for chkconfig (#7861)
    
    Co-authored-by: Steve Malenfant <[email protected]>
---
 cache-config/t3c-apply/config/config.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cache-config/t3c-apply/config/config.go 
b/cache-config/t3c-apply/config/config.go
index 7f977cec1e..221f5a76ca 100644
--- a/cache-config/t3c-apply/config/config.go
+++ b/cache-config/t3c-apply/config/config.go
@@ -741,8 +741,7 @@ func getOSSvcManagement() SvcManagement {
                _svcManager = SystemD
        } else if isCommandAvailable(Service) {
                _svcManager = SystemV
-       }
-       if !isCommandAvailable(Chkconfig) {
+       } else {
                return Unknown
        }
 

Reply via email to