From 807b60b0e61412bfb97fe035582ca5ac3a10fa79 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Tue, 1 Nov 2016 11:44:16 -0700 Subject: [PATCH] Missed the second reinstaller.... --- advanced/Scripts/update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 5ecb6a6f..783ae625 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -126,7 +126,9 @@ elif [[ "${piholeVersion} == ${piholeVersionLatest}" ]] && [[ "${webVersion}" != elif [[ "${piholeVersion}" != "${piholeVersionLatest}" ]] && [[ "${webVersion}" == "${webVersionLatest}" ]]; then echo "::: Pi-hole core files out of date" getGitFiles "${PIHOLEFILESDIR}" "${PIHOLEGITURL}" - /etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended + + /etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1 + echo ":::" piholeVersion=$(pihole -v -p -c) echo "::: Pi-hole version is now at ${piholeVersion}"