openconnect: corrected typo
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 6 Jul 2014 11:23:36 +0000 (13:23 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 6 Jul 2014 11:25:23 +0000 (13:25 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
net/openconnect/files/openconnect.sh

index c0ff471ee9776b4baf4133c075a02bc51a0277d6..315b311efa2d1582c8951bc4fe54acff50116638 100755 (executable)
@@ -26,7 +26,7 @@ proto_openconnect_setup() {
        for ip in $(resolveip -t 10 "$server"); do
                ( proto_add_host_dependency "$config" "$ip" )
                serv_addr=1
-       fi
+       done
        [ -n "$serv_addr" ] || {
                logger -t openconnect "Could not resolve server address: '$server'"
                sleep 20