mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-27 23:27:20 +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
|
||||
# Older CentOS distros
|
||||
OS_ID=centos
|
||||
elif [ -f "${HOST_ROOT}/etc/redhat-release" ]; then
|
||||
# Older RHEL distros
|
||||
OS_ID=rhel
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user