`local` variables just to be safe and make sure they stay in this function.

This commit is contained in:
Dan Schaper 2016-10-31 16:48:58 -07:00
parent bbc09ed313
commit d695c5972f
1 changed files with 4 additions and 0 deletions

View File

@ -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)