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
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-05 11:40:07 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-05 11:40:07 +0300
commitd9b609ed9834af63679d361a673c4532159e6a31 (patch)
treea8cc58acd2355ea075b0cd923bc301618d872a03 /include/report
parent63a6aba31279a5fb1f0f1bf1a987711df2bfec40 (diff)
Do not provide a tip about uploading data when user is already doing that
Diffstat (limited to 'include/report')
-rw-r--r--include/report4
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 "================================================================================"