mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 00:34:14 +02:00
Improve readability and add missing ;;
This commit is contained in:
parent
9c9ca6f947
commit
5339a0d466
@ -57,9 +57,10 @@
|
|||||||
Display --indent 2 --text "OS: Linux" --result OK --color GREEN
|
Display --indent 2 --text "OS: Linux" --result OK --color GREEN
|
||||||
;;
|
;;
|
||||||
# Matching several platforms
|
# Matching several platforms
|
||||||
"FreeBSD"|"NetBSD"|"OpenBSD")
|
"FreeBSD" | "NetBSD" | "OpenBSD")
|
||||||
LogText "Found an operating system based on BSD"
|
LogText "Found an operating system based on BSD"
|
||||||
Display --indent 2 --text "OS: *BSD" --result OK --color GREEN
|
Display --indent 2 --text "OS: *BSD" --result OK --color GREEN
|
||||||
|
;;
|
||||||
# Catch-all for unknown values
|
# Catch-all for unknown values
|
||||||
*)
|
*)
|
||||||
LogText "Did find another operating system"
|
LogText "Did find another operating system"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user