diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-18 13:16:52 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-18 13:16:52 +0200 |
commit | 2c86df3c3216bffecd3ed5a702fbc64e4549e194 (patch) | |
tree | 279d65667b4c9eff089c74e24f97b1956a66d695 /src | |
parent | f92b4e6afebdc3521dbe09c11459455cc4f97854 (diff) | |
download | 0tdns-2c86df3c3216bffecd3ed5a702fbc64e4549e194.tar.gz 0tdns-2c86df3c3216bffecd3ed5a702fbc64e4549e194.zip |
fix passing of a shell variable, that can contain spaces
Diffstat (limited to 'src')
-rwxr-xr-x | src/vpn_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpn_wrapper.sh b/src/vpn_wrapper.sh index 6aa4fd2..6540e65 100755 --- a/src/vpn_wrapper.sh +++ b/src/vpn_wrapper.sh @@ -55,7 +55,7 @@ $OVPN_COMMAND --ifconfig-noexec --route-noexec --up $NETNS_SCRIPT \ --setenv WRAPPER_PID $$ \ --setenv VETH_HOST0 $VETH_HOST0 \ --setenv VETH_HOST1 $VETH_HOST1 \ - --setenv ROUTE_THROUGH_VETH $ROUTE_THROUGH_VETH\ $DEFAULT_DNS/32 \ + --setenv ROUTE_THROUGH_VETH "$ROUTE_THROUGH_VETH"\ $DEFAULT_DNS/32 \ --setenv PHYSICAL_IP $PHYSICAL_IP & OPENVPN_PID=$! |