mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-06 21:44:33 +02:00
Improve screen output when an error in a profile has been found
This commit is contained in:
parent
573698afdb
commit
933edeeae0
@ -288,8 +288,10 @@
|
|||||||
# Catch all bad options and bail out
|
# Catch all bad options and bail out
|
||||||
*)
|
*)
|
||||||
LogText "Unknown option ${OPTION} (with value: ${VALUE})"
|
LogText "Unknown option ${OPTION} (with value: ${VALUE})"
|
||||||
echo "Fatal error: found errors in profile ${PROFILE}"
|
${ECHOCMD} ""
|
||||||
echo "Unknown option '${OPTION}' found (with value: ${VALUE})"
|
${ECHOCMD} "${RED}Error${NORMAL}: found one or more errors in profile ${PROFILE}"
|
||||||
|
${ECHOCMD} "${WHITE}Details${NORMAL}: Unknown option '${YELLOW}${OPTION}${NORMAL}' found (with value: ${VALUE})"
|
||||||
|
${ECHOCMD} ""
|
||||||
ExitFatal
|
ExitFatal
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user