pptp: fix passing setup json variables to the ppp setup code

SVN-Revision: 32035
lede-17.01
Felix Fietkau 2012-06-03 17:01:30 +00:00
parent 12cb49b233
commit 785c3f1db8
1 changed files with 1 additions and 1 deletions

View File

@ -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" ] || {