diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2018-09-17 15:30:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-18 19:53:58 -0700 |
commit | 0a286afee5a1e8dca86d824209dbd3200294f86f (patch) | |
tree | 15551524050bfc11c8506aae377df6d619ce38be /net/nfc | |
parent | 87ebcffd82ecc58175f1667af58b8138d43fb859 (diff) | |
download | linux-0a286afee5a1e8dca86d824209dbd3200294f86f.tar.bz2 |
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