diff --git a/SSH-VPN-VNC/connect2vpn b/SSH-VPN-VNC/connect2vpn
index fd29539304b4039eb8602a7dbd9ac1fe797d163e..c81a531fe726ff34ee91095e6efec8a4420633c3 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