mirror of https://github.com/CISOfy/lynis.git
Only show message about 4+ months old if there is actually an update available.
This commit is contained in:
parent
189b7a04ba
commit
61b78c1cf3
5
lynis
5
lynis
|
@ -43,8 +43,8 @@
|
|||
PROGRAM_WEBSITE="https://cisofy.com/lynis/"
|
||||
|
||||
# Version details
|
||||
PROGRAM_RELEASE_DATE="2019-07-14"
|
||||
PROGRAM_RELEASE_TIMESTAMP=1563094548
|
||||
PROGRAM_RELEASE_DATE="2019-11-18"
|
||||
PROGRAM_RELEASE_TIMESTAMP=1574071362
|
||||
PROGRAM_RELEASE_TYPE="pre-release" # pre-release or release
|
||||
PROGRAM_VERSION="3.0.0"
|
||||
|
||||
|
@ -771,7 +771,6 @@ ${NORMAL}
|
|||
if [ ${UPDATE_AVAILABLE} -eq 0 ]; then
|
||||
ReportSuggestion "LYNIS" "This release is more than 4 months old. Consider upgrading"
|
||||
fi
|
||||
UPDATE_AVAILABLE=1
|
||||
OLD_RELEASE=1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue