From 8a0e18985a6f48ab62e79b5814af1162083d1cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 28 Jun 2021 14:10:28 +0200 Subject: [PATCH] pihole: Fix condition check --- app/check.pihole.update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"