mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 13:29:56 +00:00
Merge pull request #1188 from apernet/fix-scripts-selinux-detect
fix(scripts): detect selinux with getenforce
This commit is contained in:
commit
903666f18e
@ -465,7 +465,7 @@ check_environment_systemd() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_environment_selinux() {
|
check_environment_selinux() {
|
||||||
if ! has_command chcon; then
|
if ! has_command getenforce; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user