mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
Merge pull request #1188 from apernet/fix-scripts-selinux-detect
fix(scripts): detect selinux with getenforce
This commit is contained in:
commit
903666f18e
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ check_environment_systemd() {
|
|||
}
|
||||
|
||||
check_environment_selinux() {
|
||||
if ! has_command chcon; then
|
||||
if ! has_command getenforce; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue