diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-13 21:15:00 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-13 21:15:00 +0300 |
commit | 063f50f39cd0038bd19dd0c502cd2297ef17c21f (patch) | |
tree | 3ae9e0794d9837e8ebed95862def939f4f781bb9 /lynis | |
parent | 4da54cf95a130504a37b19aa559f4dca81a5384d (diff) |
Add upload-only command
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"` |