1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-12-21 22:39:03 +00:00

Fix shellcheck errors

This commit is contained in:
angristan 2019-11-11 15:34:03 +09:00
parent b42b445ace
commit 6c0a0f50c7

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)