diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-11-18 13:03:38 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-11-18 13:03:38 +0300 |
commit | 61b78c1cf3d9d5fa4f5bf968063e3931be336572 (patch) | |
tree | cacc83dfd049f57ca0a995fc564693eb643e93eb /lynis | |
parent | 189b7a04baa7eaed38388d1f00c981c6815882a6 (diff) |
Only show message about 4+ months old if there is actually an update available.
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |