Skip to content

Commit

Permalink
Merge pull request #1188 from apernet/fix-scripts-selinux-detect
Browse files Browse the repository at this point in the history
fix(scripts): detect selinux with getenforce
  • Loading branch information
haruue authored Aug 21, 2024
2 parents 4c04660 + 00df1ca commit 903666f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ check_environment_systemd() {
}

check_environment_selinux() {
if ! has_command chcon; then
if ! has_command getenforce; then
return
fi

Expand Down

0 comments on commit 903666f

Please sign in to comment.