diff --git a/tests/p_chkconfig/chkconfig_list_services.sh b/tests/p_chkconfig/chkconfig_list_services.sh index 7d4716e..f7cdd28 100755 --- a/tests/p_chkconfig/chkconfig_list_services.sh +++ b/tests/p_chkconfig/chkconfig_list_services.sh @@ -4,6 +4,11 @@ t_Log "Running $0 - check if chkconfig can list a service status" +if [ $centos_ver -ge 8 ]; then + echo "CentOS $centos_ver does not use chkconfig, skipping" + exit 0 +fi + # network is used as example because it's standard with minimal install chkconfig --list network | grep -q '3:on'