diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-05 11:40:07 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-05 11:40:07 +0300 |
commit | d9b609ed9834af63679d361a673c4532159e6a31 (patch) | |
tree | a8cc58acd2355ea075b0cd923bc301618d872a03 /include/report | |
parent | 63a6aba31279a5fb1f0f1bf1a987711df2bfec40 (diff) |
Do not provide a tip about uploading data when user is already doing that
Diffstat (limited to 'include/report')
-rw-r--r-- | include/report | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/report b/include/report index 2e91cb4b..2b996fc5 100644 --- a/include/report +++ b/include/report @@ -152,13 +152,13 @@ echo "" done fi - + # Show tip on how to continue (next steps) if [ ! "${SWARNINGS}" = "" -o ! "${SSUGGESTIONS}" = "" ]; then echo " ${CYAN}Follow-up${NORMAL}:" echo " ${WHITE}----------------------------${NORMAL}" echo " ${WHITE}-${NORMAL} Check the logfile for more details (less $LOGFILE)" echo " ${WHITE}-${NORMAL} Read security controls texts (https://cisofy.com)" - echo " ${WHITE}-${NORMAL} Use --upload to upload data (Lynis Enterprise users)" + if [ ${UPLOAD_DATA} -eq 0 ]; then echo " ${WHITE}-${NORMAL} Use --upload to upload data (Lynis Enterprise users)"; fi echo "" fi echo "================================================================================" |