Sabrina Dubroca 0a286afee5 selftests: pmtu: properly redirect stderr to /dev/null
The cleanup function uses "$CMD 2 > /dev/null", which doesn't actually
send stderr to /dev/null, so when the netns doesn't exist, the error
message is shown. Use "2> /dev/null" instead, so that those messages
disappear, as was intended.

Fixes: d1f1b9cbf34c ("selftests: net: Introduce first PMTU test")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-18 19:53:58 -07:00
..
2018-09-07 16:36:01 -06:00
2018-08-18 10:21:49 -07:00
2018-01-28 22:17:24 -05:00
2018-08-22 10:52:45 -07:00
2018-08-14 16:39:13 -07:00
2018-05-30 15:21:51 -06:00
2018-05-23 15:24:22 -04:00