Don't use local variables for read

This commit is contained in:
angristan 2018-09-15 18:39:54 +02:00
parent 9dd238bec7
commit d496ed9f5c

View file

@ -181,7 +181,7 @@ private-address: ::ffff:0:0/96" >> /etc/unbound/unbound.conf
echo "No other changes are made to the current configuration." echo "No other changes are made to the current configuration."
while [[ $CONTINUE != "y" && $CONTINUE != "n" ]]; do 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 done
if [[ $CONTINUE = "y" ]]; then if [[ $CONTINUE = "y" ]]; then