Do not provide a tip about uploading data when user is already doing that

This commit is contained in:
Michael Boelen 2016-07-05 10:40:07 +02:00
parent 63a6aba312
commit d9b609ed98

View File

@ -152,13 +152,13 @@
echo "" echo ""
done done
fi fi
# Show tip on how to continue (next steps)
if [ ! "${SWARNINGS}" = "" -o ! "${SSUGGESTIONS}" = "" ]; then if [ ! "${SWARNINGS}" = "" -o ! "${SSUGGESTIONS}" = "" ]; then
echo " ${CYAN}Follow-up${NORMAL}:" echo " ${CYAN}Follow-up${NORMAL}:"
echo " ${WHITE}----------------------------${NORMAL}" echo " ${WHITE}----------------------------${NORMAL}"
echo " ${WHITE}-${NORMAL} Check the logfile for more details (less $LOGFILE)" echo " ${WHITE}-${NORMAL} Check the logfile for more details (less $LOGFILE)"
echo " ${WHITE}-${NORMAL} Read security controls texts (https://cisofy.com)" 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 "" echo ""
fi fi
echo "================================================================================" echo "================================================================================"