From: Felix Fietkau Date: Sun, 3 Jun 2012 17:01:30 +0000 (+0000) Subject: pptp: fix passing setup json variables to the ppp setup code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4fdd3865f2f67567e23d82f680ea26599532639b;p=openwrt%2Fsvn-archive%2Farchive.git pptp: fix passing setup json variables to the ppp setup code SVN-Revision: 32035 --- diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index 4ce39f6f80..911e0aae2a 100755 --- a/package/pptp/files/pptp.sh +++ b/package/pptp/files/pptp.sh @@ -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" ] || {