remove --defaultyes from update whiptail

This commit is contained in:
Promofaux 2016-08-19 22:40:27 +01:00
parent 8fc83655ab
commit cc157def63

View file

@ -874,7 +874,7 @@ View the web interface at http://pi.hole/admin or http://${IPv4addr%/*}/admin" $
updateDialogs(){ updateDialogs(){
if (whiptail --title "Existing Install detected" --yesno "We have detected you are installing over the top of an existing install.\n\n\nWould you like update?" --defaultyes ${r} ${c}); then if (whiptail --title "Existing Install detected" --yesno "We have detected you are installing over the top of an existing install.\n\n\nWould you like update?" ${r} ${c}); then
echo "::: Updating existing install selected" echo "::: Updating existing install selected"
useUpdateVars = true useUpdateVars = true
fi fi