iankelling.org
/
git
/
newns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12930c7
)
remove output of expected error
author
Ian Kelling
<iank@fsf.org>
Sun, 30 Jun 2019 19:58:35 +0000
(15:58 -0400)
committer
Ian Kelling
<iank@fsf.org>
Sun, 30 Jun 2019 19:58:35 +0000
(15:58 -0400)
newns
patch
|
blob
|
history
diff --git
a/newns
b/newns
index dbc922198a5e4e2ee820d70e0e9365cb3c85c036..5075181714569a1d6e8980bb27af27e0b3eb4ddc 100755
(executable)
--- 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