mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Merge pull request #4242 from pi-hole/fix/guard_logrotate
Guard for logrotate func non-zero return
This commit is contained in:
commit
7f4bb24fd3
@ -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…
Reference in New Issue
Block a user