From: Vadim Kochan Date: Thu, 2 Apr 2015 15:08:03 +0000 (+0300) Subject: man ip-netns: Fix shifted layout at bottom of 'ip netns del' X-Git-Tag: v4.0.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf2f7c66d84baa1d6c889b449b1cd49f08de725;p=thirdparty%2Fiproute2.git man ip-netns: Fix shifted layout at bottom of 'ip netns del' Signed-off-by: Vadim Kochan --- diff --git a/man/man8/ip-netns.8 b/man/man8/ip-netns.8 index d34cdfe37..5985be065 100644 --- a/man/man8/ip-netns.8 +++ b/man/man8/ip-netns.8 @@ -116,12 +116,18 @@ $ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND $ ip netns del net0 .RE +.RS and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND will exit or will be killed. To prevent this the processes running in net0 should be killed before deleting the netns: - $ ip netns pids net0 | xargs kill - $ ip netns del net0 +.RE +.RS 10 +$ ip netns pids net0 | xargs kill +.RE +.RS 10 +$ ip netns del net0 +.RE .TP .B ip netns set NAME NETNSID - assign an id to a peer network namespace