summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-03 17:01:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-03 17:01:30 +0000
commit060f822fc24aab317475152fec91ee7f99528523 (patch)
treea9eae78e15d9262e0fc9f0ca6917509a17896013 /package
parentb2ec569c81366898e028be73cb235d66823c23ea (diff)
pptp: fix passing setup json variables to the ppp setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32035 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/pptp/files/pptp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index 4ce39f6f8..911e0aae2 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" ] || {