Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2021-07-30 09:17:03 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2021-07-30 09:17:03 +0300
commit43054c0999f6e90f2dfef16228e6a2a147a36e6e (patch)
treedbde3407d096efa03f27382f7def4742a8f321e9 /include
parent12c088087b759abfe1ebb8281fa54e7f1011f7fb (diff)
Added 'RedHat' to OS detection routine (RHEL 6)
Diffstat (limited to 'include')
-rw-r--r--include/osdetection2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index 16d47a71..a4d3aa41 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -346,7 +346,7 @@
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="Raspbian"
;;
- "rhel")
+ "redhat" | "rhel")
LINUX_VERSION="RHEL"
OS_NAME="RHEL"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')