too many echos spoil the branch

pull/1028/head
Promofaux 8 years ago
parent 4c131b8c28
commit 754f3359ec

@ -943,7 +943,6 @@ checkSelinux() {
enforceMode=$(getenforce)
echo "${enforceMode}"
if [[ "${enforceMode}" == "Enforcing" ]]; then
echo "Enforcing"
if (whiptail --title "SELinux Enforcing Detected" --yesno "SELinux is being Enforced on your system!\n\nPi-hole currently does not support SELinux, but you may still continue with the installation.\n\nNote: Admin UI Will not function fully without setting your policies correctly\n\nContinue installing Pi-hole?" ${r} ${c}); then
printf "\n::: Continuing installation with SELinux Enforcing.."
printf "\n::: Please refer to official SELinux documentation to create a custom policy."

Loading…
Cancel
Save