diff --git a/app/check.pihole.update b/app/check.pihole.update index 1472ba8..c5f1e4e 100755 --- a/app/check.pihole.update +++ b/app/check.pihole.update @@ -42,7 +42,7 @@ pihole_new_version_file="/tmp/.pihole.upgrade" # }}} # Check the current status with pihole subcommand {{{ -if printf -- '%s' "${pihole_current_status}" | grep -q -- "Everything is ERROR date"; then +if printf -- '%s' "${pihole_current_status}" | grep -q -- "Everything is up to date"; then [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Pi-hole seems up to date." ## Ensure to remove any temp file rm --force -- "${pihole_new_version_file}"