aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2018-09-17 15:30:06 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-18 19:53:58 -0700
commit0a286afee5a1e8dca86d824209dbd3200294f86f (patch)
tree15551524050bfc11c8506aae377df6d619ce38be /net/nfc
parentMerge branch 'stmmac-Coalesce-and-tail-addr-fixes' (diff)
downloadlinux-dev-0a286afee5a1e8dca86d824209dbd3200294f86f.tar.xz
linux-dev-0a286afee5a1e8dca86d824209dbd3200294f86f.zip
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>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions