mirror of https://github.com/CISOfy/lynis.git
spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
499dff2428
commit
f22e192838
|
@ -86,7 +86,7 @@
|
|||
# Reason: openntpd syncs only if large time corrections are not required or -s is passed.
|
||||
# This might be not intended by the administrator (-s is NOT the default!)
|
||||
FIND=$(${PSBINARY} ax | ${GREPBINARY} "ntpd: ntp engine" | ${GREPBINARY} -v "grep")
|
||||
# Status code 0 is when communication over the socket is successfull
|
||||
# Status code 0 is when communication over the socket is successful
|
||||
if ${NTPCTLBINARY} -s status > /dev/null 2> /dev/null; then
|
||||
FOUND=1; NTP_DAEMON_RUNNING=1; NTP_CONFIG_TYPE_DAEMON=1; NTP_DAEMON="openntpd"
|
||||
LogText "result: found openntpd (method: ntpctl)"
|
||||
|
|
Loading…
Reference in New Issue