From 265f3a529383388626eb88a5177dbd5d126f7b7c Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Wed, 11 Oct 2023 12:05:56 +1100 Subject: [PATCH] Typo in vpn-splice arg --- cvpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvpn b/cvpn index f3aa0d9..676cf51 100755 --- a/cvpn +++ b/cvpn @@ -338,7 +338,7 @@ elif [[ $cmd == "on" ]]; then fi else if [[ -n $curroutes ]]; then - printf '%s' "$curpw" | sudo ${OPENCONNECT} --background --non-inter --protocol=anyconnect -u "$curuser" --passwd-on-stdin --authgroup="$curgroup" -s "$VPNSLICE $routesarg" --servercert "$curservercert" "$curserver" >"${LOGFILE}" 2>&1 + printf '%s' "$curpw" | sudo ${OPENCONNECT} --background --non-inter --protocol=anyconnect -u "$curuser" --passwd-on-stdin --authgroup="$curgroup" -s "$VPNSLICE $curroutes" --servercert "$curservercert" "$curserver" >"${LOGFILE}" 2>&1 else printf '%s' "$curpw" | sudo ${OPENCONNECT} --background --non-inter --protocol=anyconnect -u "$curuser" --passwd-on-stdin --authgroup="$curgroup" --servercert "$curservercert" "$curserver" >"${LOGFILE}" 2>&1 fi