Don't use local variables for read
This commit is contained in:
parent
9dd238bec7
commit
d496ed9f5c
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ private-address: ::ffff:0:0/96" >> /etc/unbound/unbound.conf
|
|||
echo "No other changes are made to the current configuration."
|
||||
|
||||
while [[ $CONTINUE != "y" && $CONTINUE != "n" ]]; do
|
||||
read -rp "Apply configuration changes? [y/n]: " -e local CONTINUE
|
||||
read -rp "Apply configuration changes? [y/n]: " -e CONTINUE
|
||||
done
|
||||
|
||||
if [[ $CONTINUE = "y" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue