Blame tests/p_systemd/20-systemctl_list-service-status.sh

Rene Diepstraten 8c0afd
#!/bin/bash
Rene Diepstraten 8c0afd
# Author: Rene Diepstraten <rene@renediepstraten.nl>
Rene Diepstraten 8c0afd
Rene Diepstraten 8c0afd
[ ${centos_ver} -lt 7 ] && exit
Rene Diepstraten 8c0afd
t_Log "Running $0 - checking if systemctl can check a service status"
Rene Diepstraten 8c0afd
Rene Diepstraten 8c0afd
systemctl is-active auditd.service > /dev/null
Rene Diepstraten 8c0afd
Rene Diepstraten 8c0afd
t_CheckExitStatus $?