Merge pull request #4242 from pi-hole/fix/guard_logrotate

Guard for logrotate func non-zero return
pull/4244/head
DL6ER 3 years ago committed by GitHub
commit 7f4bb24fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2043,7 +2043,10 @@ installPihole() {
# Install the cron file
installCron
# Install the logrotate file
installLogrotate
if ! installLogrotate; then
printf " %b Failure in logrotate installation function.\\n" "${CROSS}"
# This isn't fatal, no need to exit.
fi
# Check if dnsmasq is present. If so, disable it and back up any possible
# config file
disable_dnsmasq

Loading…
Cancel
Save