Fix shellcheck errors

This commit is contained in:
angristan 2019-11-11 15:34:03 +09:00
parent b42b445ace
commit 6c0a0f50c7
1 changed files with 2 additions and 1 deletions

View File

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