bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_audit/auditd_running.sh

Athmane Madjoudj 39a2ca
#!/bin/sh
Athmane Madjoudj 39a2ca
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 39a2ca
Athmane Madjoudj 39a2ca
t_Log "Running $0 -  check if auditd is running."
Athmane Madjoudj 39a2ca
Athmane Madjoudj 39a2ca
service auditd status > /dev/null 2>&1
Athmane Madjoudj 39a2ca
Athmane Madjoudj 39a2ca
t_CheckExitStatus $?