mirror of https://github.com/CISOfy/lynis.git
Change timesync sync file, fixes #1012
This commit is contained in:
parent
7df0b8618b
commit
dabac5bf89
|
@ -574,7 +574,7 @@
|
|||
|
||||
|
||||
Register --test-no TIME-3185 --preqs-met "${PREQS_MET}" --weight L --network NO --category "security" --description "Check systemd-timesyncd synchronized time"
|
||||
SYNCHRONIZED_FILE="/run/systemd/timesync/synchronized"
|
||||
SYNCHRONIZED_FILE="/var/lib/systemd/timesync/clock"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
if [ -e "${SYNCHRONIZED_FILE}" ]; then
|
||||
FIND=$(( $(date +%s) - $(${STATBINARY} -L --format %Y "${SYNCHRONIZED_FILE}") ))
|
||||
|
|
Loading…
Reference in New Issue