[PATCH] net: ping: return an error exit code when connection fails

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 17 00:11:01 PDT 2015


Hi Mirko,

On Mon, Mar 16, 2015 at 05:09:17PM +0100, mirko wrote:
> Il 2015-03-16 16:02 Mirko Damiani ha scritto:
> >Hi,
> >ping command does not always returns 1 as exit code when connection to
> >host fails.
> >In particular it returns the exit code of the previous run.
> >This patch fixes this issue.
> >
> 
> Sorry, the same patch with proper tabulation characters.

I can confirm that this patch now has tabs instead of spaces, but it
still does not apply because there are some spaces in the context which
shouldn't be there. Anyway, applied it manually, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list