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:
authoralobodzinski <lobo@dzinski.net>2016-08-29 20:31:06 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-29 20:31:06 +0300
commit639c5adc72900012d1804c745c17f329b305012c (patch)
treedc3475161ae056e5bfac9f3456032966932e2124 /include
parente6a829b6edea9703b382aec4d12958d622daa794 (diff)
Fixed cut-and-paste error (#265)
Diffstat (limited to 'include')
-rw-r--r--include/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions b/include/functions
index 7248a71d..495f084e 100644
--- a/include/functions
+++ b/include/functions
@@ -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