minor output improvement
authorIan Kelling <iank@fsf.org>
Thu, 2 Mar 2023 01:35:11 +0000 (20:35 -0500)
committerIan Kelling <iank@fsf.org>
Thu, 2 Mar 2023 01:35:11 +0000 (20:35 -0500)
newns

diff --git a/newns b/newns
index 7e3bf2b368e1fd27645fc2515229ca863accea82..22906299aacf78adedca9c18c0f4ef3c86923a8a 100755 (executable)
--- a/newns
+++ b/newns
@@ -255,7 +255,7 @@ start() {
     ip -n $nn link set dev lo up
   fi
 
-  echo 1 | dexec dd of=/proc/sys/net/ipv4/ip_forward 2>/dev/null
+  echo 1 | dexec dd of=/proc/sys/net/ipv4/ip_forward status=none
 
   # docker helpfully changes the default FORWARD to drop...
   diptables-add FORWARD -i $v0 -j ACCEPT