From d695c5972f0c84046281bf7c9b051984a4744cd4 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Mon, 31 Oct 2016 16:48:58 -0700 Subject: [PATCH] `local` variables just to be safe and make sure they stay in this function. --- automated install/basic-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3abaca7c..0ee45e77 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -538,6 +538,10 @@ setDNS() { } setLogging() { + local LogToggleCommand + local LogChooseOptions + local LogChoices + LogToggleCommand=(whiptail --separate-output --radiolist "Do you want to log queries?\n (Disabling will render graphs on the Admin page useless):" ${r} ${c} 6) LogChooseOptions=("On (Reccomended)" "" on Off "" off)