diff options
author | Ed Maste <emaste@FreeBSD.org> | 2021-05-17 21:38:42 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-19 00:29:27 +0200 |
commit | f324db06779dc810decb05ce1bb51948d500a3ec (patch) | |
tree | 7a816a1ffd591c1fea3d8187113cc630c990f6d5 | |
parent | version: bump (diff) | |
download | wireguard-freebsd-f324db06779dc810decb05ce1bb51948d500a3ec.tar.xz wireguard-freebsd-f324db06779dc810decb05ce1bb51948d500a3ec.zip |
netns: use `exit 0` for early exit
It appears that much of netns is not yet ported/usable on FreeBSD, and
we previously used `exit 1` to exit early and skip the remainder. Exit
without error instead, for CI purposes.
Signed-off-by: Ed Maste <emaste@FreeBSD.org>
-rwxr-xr-x | tests/netns.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/netns.sh b/tests/netns.sh index f868a7a..06487b1 100755 --- a/tests/netns.sh +++ b/tests/netns.sh @@ -188,7 +188,7 @@ ifconfig1 wg1 mtu $big_mtu ifconfig2 wg2 mtu $big_mtu tests -exit 1 +exit 0 ip1 link set wg0 mtu $orig_mtu ip2 link set wg0 mtu $orig_mtu |