1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-29 18:28:09 +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:
DL6ER 2021-07-28 21:18:02 +02:00
parent fba7517cc6
commit d0eb0d5037
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

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