Re: [PATCH] ethtool: return 1 as exit code on a settings(-s) failure.

2015-04-16 Thread Ben Hutchings
On Thu, 2015-04-16 at 13:55 -0700, Sridhar Samudrala wrote: > Currently 0 is returned on both success or failure. Previously discussed here: . Ben. > Signed-off-by: Sridhar Samudrala > --- > ethtool.c | 4 ++-- > 1 file changed, 2 insertions(

[PATCH] ethtool: return 1 as exit code on a settings(-s) failure.

2015-04-16 Thread Sridhar Samudrala
Currently 0 is returned on both success or failure. Signed-off-by: Sridhar Samudrala --- ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethtool.c b/ethtool.c index 01b13a6..163dff2 100644 --- a/ethtool.c +++ b/ethtool.c @@ -2352,7 +2352,7 @@ static int do_sset(