mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Remove extra failure display when installation of logrotate file is skipped because the file already exists
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
fba7517cc6
commit
d0eb0d5037
1 changed files with 3 additions and 4 deletions
|
@ -2042,11 +2042,10 @@ installPihole() {
|
||||||
fi
|
fi
|
||||||
# Install the cron file
|
# Install the cron file
|
||||||
installCron
|
installCron
|
||||||
|
|
||||||
# Install the logrotate file
|
# Install the logrotate file
|
||||||
if ! installLogrotate; then
|
installLogrotate || true
|
||||||
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