mirror of https://github.com/CISOfy/lynis.git
Added proper check for smtpctl binary
This commit is contained in:
parent
9beee9a514
commit
376b37f250
|
@ -222,7 +222,7 @@
|
|||
#
|
||||
# Test : MAIL-8920
|
||||
# Description : Check OpenSMTPD process status
|
||||
if [ ! "${SMTPCTL_BINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
if [ ! "${SMTPCTLBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check OpenSMTPD status"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
logtext "Test: check smtpd status"
|
||||
|
|
Loading…
Reference in New Issue