6in4: fix typo in last commit
[openwrt.git] / package / network / ipv6 / 6in4 / files / 6in4.sh
index e27e86e..647a2f8 100755 (executable)
@@ -65,7 +65,7 @@ proto_6in4_setup() {
                local max=3
 
                while [ $((++try)) -le $max ]; do
-                       ( wget -qO/dev/null "$url" 2>/dev/null ) &
+                       ( exec wget -qO/dev/null "$url" 2>/dev/null ) &
                        local pid=$!
                        ( sleep 5; kill $pid 2>/dev/null ) &
                        wait $pid && break