mirror of https://github.com/CISOfy/lynis.git
Fixed cut-and-paste error (#265)
This commit is contained in:
parent
e6a829b6ed
commit
639c5adc72
|
@ -580,14 +580,14 @@
|
|||
DisplayToolTip() {
|
||||
# Display tooltip when enabled and no tip has been displayed yet
|
||||
if [ ${SHOW_TOOL_TIPS} -eq 1 -a ${TOOLTIP_SHOWED} -eq 0 ]; then
|
||||
# Check if we already have already discovered a proper echo command tool. It not, set it default to 'echo'.
|
||||
if [ "${ECHOCMD}" = "" ]; then ECHOCMD="echo"; fi
|
||||
if [ ${CRONJOB} -eq 0 ]; then
|
||||
# Check if we already have already discovered a proper echo command tool. It not, set it default to 'echo'.
|
||||
if [ "${ECHOCMD}" = "" ]; then ECHOCMD="echo"; fi
|
||||
printf "\n"
|
||||
${ECHOCMD} " ${BG_BLUE}[TIP]${NORMAL}: ${LIGHTBLUE}$1${NORMAL}"
|
||||
printf "\n"
|
||||
else
|
||||
echo "${TEXT}${RESULTPART}"
|
||||
${ECHOCMD} " [TIP]: $1"
|
||||
fi
|
||||
TOOLTIP_SHOWED=1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue