selftests: pmtu: Reverse return codes of functions
authorStefano Brivio <sbrivio@redhat.com>
Sat, 17 Mar 2018 01:31:38 +0000 (02:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:15:13 +0000 (20:15 -0400)
commit380e29a6b71fac7ce7a437ab2f7e305c3de8076f
tree78e28fde06bede1084b7dc8efbd7c632ca4902fc
parentfe2d55d295cf70d5b1f1f1217cfa771bf5eb3f7f
selftests: pmtu: Reverse return codes of functions

David suggests it's more intuitive to return non-zero on
failures, and zero on success.

No need to introduce tail 'return 0' in functions, they will
return the exit code of the last command anyway.

Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh