Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim <jim.verheijde@hotmail.com>2020-08-23 23:41:19 +0300
committerGitHub <noreply@github.com>2020-08-23 23:41:19 +0300
commitdabac5bf89685fb137536409e26d186ec58a94d4 (patch)
treeebf44f04ff546459f45c9f3debd1ae3d3991ebb3 /include/tests_time
parent7df0b8618b5cce39961b245a3c582af4294276d7 (diff)
Change timesync sync file, fixes #1012
Diffstat (limited to 'include/tests_time')
-rw-r--r--include/tests_time2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_time b/include/tests_time
index eda41a6f..46db8d71 100644
--- a/include/tests_time
+++ b/include/tests_time
@@ -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}") ))