pptp: fix passing setup json variables to the ppp setup code
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jun 2012 17:01:30 +0000 (17:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jun 2012 17:01:30 +0000 (17:01 +0000)
SVN-Revision: 32035

package/pptp/files/pptp.sh

index 4ce39f6f806866c99d311d31e53b07040d6ce37c..911e0aae2a8a98082716b7919d5fc815f5715a3b 100755 (executable)
@@ -24,7 +24,7 @@ proto_pptp_setup() {
 
        serv_addr=
        for ip in $(resolveip -t 5 "$server"); do
-               proto_add_host_dependency "$config" "$server"
+               ( proto_add_host_dependency "$config" "$server" )
                serv_addr=1
        done
        [ -n "$serv_addr" ] || {