From: Ian Kelling Date: Sun, 30 Jun 2019 19:58:35 +0000 (-0400) Subject: remove output of expected error X-Git-Url: https://iankelling.org/git/?p=newns;a=commitdiff_plain;h=acd1cda1e949b675e3d5b2e0bada9164b28129c3;hp=12930c73ac850b810b56180d4d107dd66b68bb14 remove output of expected error --- diff --git a/newns b/newns index dbc9221..5075181 100755 --- a/newns +++ b/newns @@ -331,7 +331,7 @@ stop() { if ! $existing; then if nat -C &>/dev/null; then nat -D; fi fi - dexec iptables -D FORWARD -i $v0 -j ACCEPT ||: + dexec iptables -D FORWARD -i $v0 -j ACCEPT &>/dev/null ||: if $create && [[ -e /var/run/netns/$nn ]]; then ip netns del $nn fi