From 6c0a0f50c708e58a04b152c3522612ec3a175ef8 Mon Sep 17 00:00:00 2001 From: angristan Date: Mon, 11 Nov 2019 15:34:03 +0900 Subject: [PATCH] Fix shellcheck errors --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index eb64a9b..8b1784c 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1141,7 +1141,8 @@ function removeUnbound () { function removeOpenVPN () { echo "" - read -rp "Do you really want to remove OpenVPN? [y/n]: " -e -i "n" REMOVE + # shellcheck disable=SC2034 + read -rp "Do you really want to remove OpenVPN? [y/n]: " -e -i n REMOVE if [[ "$REMOVE" = 'y' ]]; then # Get OpenVPN port from the configuration PORT=$(grep '^port ' /etc/openvpn/server.conf | cut -d " " -f 2)