mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 07:37:32 +00:00
support older rhel distros in falco-driver-loader
Tested on RHEL 6 Signed-off-by: gentooise <andrea.genuise@ibm.com>
This commit is contained in:
parent
1b227cf90b
commit
70dfdb2e75
@ -113,6 +113,9 @@ get_target_id() {
|
|||||||
elif [ -f "${HOST_ROOT}/etc/centos-release" ]; then
|
elif [ -f "${HOST_ROOT}/etc/centos-release" ]; then
|
||||||
# Older CentOS distros
|
# Older CentOS distros
|
||||||
OS_ID=centos
|
OS_ID=centos
|
||||||
|
elif [ -f "${HOST_ROOT}/etc/redhat-release" ]; then
|
||||||
|
# Older RHEL distros
|
||||||
|
OS_ID=rhel
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user