mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-22 06:48:55 +00:00
Fix shellcheck errors
This commit is contained in:
parent
b42b445ace
commit
6c0a0f50c7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user