jpappa200 commented on code in PR #7861:
URL: https://github.com/apache/trafficcontrol/pull/7861#discussion_r1389943810


##########
cache-config/t3c-apply/config/config.go:
##########
@@ -681,8 +681,7 @@ func getOSSvcManagement() SvcManagement {
                _svcManager = SystemD
        } else if isCommandAvailable(Service) {
                _svcManager = SystemV
-       }
-       if !isCommandAvailable(Chkconfig) {
+       } else {

Review Comment:
   Since systemV needs chkconfig maybe this would be better. 
   `if _svcManager == SystemV && !isCommandAvailable(Chkconfig) {return 
Unknown}`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to