printf to echo. idgaf

This commit is contained in:
Promofaux 2016-12-23 17:24:33 +00:00
parent 754f3359ec
commit 9725985037

View file

@ -944,10 +944,12 @@ checkSelinux() {
echo "${enforceMode}"
if [[ "${enforceMode}" == "Enforcing" ]]; then
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."
echo ":::"
echo "::: Continuing installation with SELinux Enforcing.."
echo "::: Please refer to official SELinux documentation to create a custom policy."
else
printf "\n::: Not continuing install after SELinux Enforcing detected"
echo ":::"
echo "::: Not continuing install after SELinux Enforcing detected"
exit 1
fi
fi