Improvements
This commit is contained in:
parent
2af559e6af
commit
27ae634bcb
1 changed files with 3 additions and 2 deletions
|
|
@ -560,8 +560,9 @@ function installOpenVPN () {
|
||||||
echo ""
|
echo ""
|
||||||
echo "Continuing will update your installed packages and install needed ones."
|
echo "Continuing will update your installed packages and install needed ones."
|
||||||
echo ""
|
echo ""
|
||||||
until [[ $CONTINUE == "y" || $CONTINUE == "n" ]]; do
|
unset $CONTINUE
|
||||||
read -rp "Continue ? [y/n]: " -e -i y CONTINUE
|
until [[ $CONTINUE =~ (y|n) ]]; do
|
||||||
|
read -rp "Continue? [y/n]: " -e -i y CONTINUE
|
||||||
done
|
done
|
||||||
if [[ "$CONTINUE" = "n" ]]; then
|
if [[ "$CONTINUE" = "n" ]]; then
|
||||||
echo "Exiting because user did not permit updating the system."
|
echo "Exiting because user did not permit updating the system."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue