mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +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
1 changed files with 4 additions and 1 deletions
|
@ -2043,7 +2043,10 @@ installPihole() {
|
||||||
# Install the cron file
|
# Install the cron file
|
||||||
installCron
|
installCron
|
||||||
# Install the logrotate file
|
# 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
|
# Check if dnsmasq is present. If so, disable it and back up any possible
|
||||||
# config file
|
# config file
|
||||||
disable_dnsmasq
|
disable_dnsmasq
|
||||||
|
|
Loading…
Reference in a new issue