mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Improve readability and add missing ;;
This commit is contained in:
parent
9c9ca6f947
commit
5339a0d466
1 changed files with 2 additions and 1 deletions
|
|
@ -57,9 +57,10 @@
|
|||
Display --indent 2 --text "OS: Linux" --result OK --color GREEN
|
||||
;;
|
||||
# Matching several platforms
|
||||
"FreeBSD"|"NetBSD"|"OpenBSD")
|
||||
"FreeBSD" | "NetBSD" | "OpenBSD")
|
||||
LogText "Found an operating system based on BSD"
|
||||
Display --indent 2 --text "OS: *BSD" --result OK --color GREEN
|
||||
;;
|
||||
# Catch-all for unknown values
|
||||
*)
|
||||
LogText "Did find another operating system"
|
||||
|
|
|
|||
Loading…
Reference in a new issue