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
path: root/lynis
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-10-13 21:15:00 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-10-13 21:15:00 +0300
commit063f50f39cd0038bd19dd0c502cd2297ef17c21f (patch)
tree3ae9e0794d9837e8ebed95862def939f4f781bb9 /lynis
parent4da54cf95a130504a37b19aa559f4dca81a5384d (diff)
Add upload-only command
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis4
1 files changed, 2 insertions, 2 deletions
diff --git a/lynis b/lynis
index 76920870..0aa0fff1 100755
--- a/lynis
+++ b/lynis
@@ -29,7 +29,7 @@
# Version details
PROGRAM_RELEASE_DATE="2016-10-05"
- PROGRAM_RELEASE_TIMESTAMP=1475653970
+ PROGRAM_RELEASE_TIMESTAMP=1476382458
PROGRAM_RELEASE_TYPE="dev" # dev or final
PROGRAM_VERSION="2.3.5"
@@ -492,7 +492,7 @@ ${NORMAL}
LogText "### ${PROGRAM_COPYRIGHT} ###"
# Clear report file (to avoid appending to an existing file)
- echo "# ${PROGRAM_NAME} Report" > ${REPORTFILE}
+ if [ ${CREATE_REPORT_FILE} -eq 1 ]; then echo "# ${PROGRAM_NAME} Report" > ${REPORTFILE}; fi
Report "report_version_major=${REPORT_version_major}"
Report "report_version_minor=${REPORT_version_minor}"
CDATE=`date "+%F %H:%M:%S"`