mirror of https://github.com/CISOfy/lynis.git
Correction of Display function
This commit is contained in:
parent
aa8410477e
commit
2cd57933b6
|
@ -4,7 +4,6 @@ if [ $# -eq 0 ]; then
|
|||
|
||||
Display --indent 2 --text "${RED}Error: ${WHITE}Provide URL or file${NORMAL}"
|
||||
Display --text " "; Display --text " "
|
||||
|
||||
ExitFatal
|
||||
else
|
||||
FILE=`echo $1 | egrep "^http|https"`
|
||||
|
@ -18,7 +17,7 @@ if [ $# -eq 0 ]; then
|
|||
if [ -f ${TMP_FILE} ]; then
|
||||
rm -f ${TMP_FILE}
|
||||
fi
|
||||
Dislpay --indent 2 --text "${RED}Error: ${WHITE}can not download file${NORMAL}"
|
||||
Display --indent 2 --text "${RED}Error: ${WHITE}can not download file${NORMAL}"
|
||||
ExitFatal
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue