Fixed cut-and-paste error (#265)

This commit is contained in:
alobodzinski 2016-08-29 19:31:06 +02:00 committed by Michael Boelen
parent e6a829b6ed
commit 639c5adc72
1 changed files with 3 additions and 3 deletions

View File

@ -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