From 0fc4f182188f7a455c25cbf660b456b64a38e452 Mon Sep 17 00:00:00 2001 From: MB <michael.blaschek@univie.ac.at> Date: Thu, 25 Mar 2021 11:35:27 +0100 Subject: [PATCH] bug fix --- SSH-VPN-VNC/connect2vpn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SSH-VPN-VNC/connect2vpn b/SSH-VPN-VNC/connect2vpn index fd29539..c81a531 100755 --- a/SSH-VPN-VNC/connect2vpn +++ b/SSH-VPN-VNC/connect2vpn @@ -8,12 +8,12 @@ # Connect to VPN from the University of Vienna # Watch connection -if [ -n $VPN_USER ]; then +if [ ! -n ${VPN_USER} ]; then echo "set VPN_USER to your u:account username" exit 1 fi -f5fpc -h 2> /dev/null 1>/dev/null +f5fpc -v 2> /dev/null 1>/dev/null if [ $? -ne 0 ]; then echo "[VPN] Install Big-IP Edge Client. f5fpc missing" exit 1 -- GitLab