9
0
Fork 0
barebox/net
Mirko Damiani e44c9b04c4 net: ping: return an error exit code when connection fails
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.

Signed-off-by: Mirko Damiani <mirko@develer.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-04-03 08:03:08 +02:00
..
Kconfig commands: move CMD_IFUP to commands/Kconfig 2014-05-14 10:03:49 +02:00
Makefile commands: NET_DHCP -> CMD_DHCP 2014-05-14 10:03:49 +02:00
dhcp.c dhcp: fix request packet's seconds elapsed 2015-01-29 08:39:04 +01:00
dns.c commands: introduce CMD_HOST 2014-05-14 10:03:48 +02:00
eth.c net: Call edev->recv with correct eth_device 2014-09-17 12:27:42 +02:00
ifup.c ifup: Add comment why xxx-discover files have to be skipped 2014-06-23 10:05:40 +02:00
net.c Merge branch 'for-next/net' 2014-06-04 21:03:45 +02:00
netconsole.c console: allow to specify the device id 2015-01-13 08:48:59 +01:00
nfs.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
nfs.h pass filename to nfs and tftp start functions 2009-10-19 10:18:51 +02:00
ping.c net: ping: return an error exit code when connection fails 2015-04-03 08:03:08 +02:00
rarp.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00