diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-30 09:17:03 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-30 09:17:03 +0300 |
commit | 43054c0999f6e90f2dfef16228e6a2a147a36e6e (patch) | |
tree | dbde3407d096efa03f27382f7def4742a8f321e9 /include | |
parent | 12c088087b759abfe1ebb8281fa54e7f1011f7fb (diff) |
Added 'RedHat' to OS detection routine (RHEL 6)
Diffstat (limited to 'include')
-rw-r--r-- | include/osdetection | 2 |
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 '"') |