mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +00:00
Guard for logrotate func non-zero return
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
18c6ef8aac
commit
b1ea60484e
@ -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