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:
authorMichael Boelen <michael.boelen@cisofy.com>2019-09-19 15:05:15 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-19 15:05:15 +0300
commit36627a4eb7fb0d505c6df7897083d161e59cdf34 (patch)
tree5efa5a2f34c6683635259a97ebbbfd3ec1739629 /include/tests_authentication
parent950be03ddbc150d3b61b5ea620833a1991f32b3c (diff)
Style improvements
Diffstat (limited to 'include/tests_authentication')
-rw-r--r--include/tests_authentication2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index 05f107ae..7f04a41f 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -863,7 +863,7 @@
NOW=$(date "+%s")
fi
- DAYS_SINCE_EPOCH=$((${NOW}/86400))
+ DAYS_SINCE_EPOCH=$((NOW / 86400))
LogText "Data: Days since epoch is ${DAYS_SINCE_EPOCH}"
LogText "Test: collecting accounts which have an expired password (last day changed + maximum change time)"
# Skip fields with a !, *, or x, or !* (field $3 is last changed, $5 is maximum changed)