mirror of https://github.com/CISOfy/lynis.git
Do not show text on screen in quiet mode
This commit is contained in:
parent
22cb6d6523
commit
bedadd9cd1
|
@ -1396,6 +1396,7 @@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Name : Progress()
|
# Name : Progress()
|
||||||
# Description : Displays progress on screen with dots
|
# Description : Displays progress on screen with dots
|
||||||
|
@ -1404,9 +1405,9 @@
|
||||||
# Tip : Use this function from Register with the --progress parameter
|
# Tip : Use this function from Register with the --progress parameter
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
Progress()
|
Progress() {
|
||||||
{
|
|
||||||
if [ ${CRONJOB} -eq 0 ]; then
|
if [ ${CRONJOB} -eq 0 ]; then
|
||||||
|
if [ ${QUIET} -eq 0 ]; then
|
||||||
if [ "$1" = "--finish" ]; then
|
if [ "$1" = "--finish" ]; then
|
||||||
${ECHOCMD} ""
|
${ECHOCMD} ""
|
||||||
else
|
else
|
||||||
|
@ -1418,8 +1419,10 @@
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Name : Progress()
|
# Name : Progress()
|
||||||
# Description : Displays progress on screen with dots
|
# Description : Displays progress on screen with dots
|
||||||
|
|
Loading…
Reference in New Issue