bolemo / pia_wg

OpenWrt PIA WireGuard Script
GNU General Public License v3.0
8 stars 2 forks source link

Check traceroute status via grep for ms #7

Closed bwitt closed 6 months ago

bwitt commented 6 months ago

Traceroute seems to exit with 0 code even if no response is received, so to detect when it receives no responses you have to grep -q ms

Ref https://stackoverflow.com/a/52629622/5373984

Fixes https://github.com/bolemo/pia_wg/issues/6