Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-21 Thread Michal Simek
On 08/20/2015 06:51 PM, Joe Hershberger wrote: Hi Michal, On Thu, Aug 20, 2015 at 7:15 AM, Michal Simek mon...@monstr.eu wrote: On 08/13/2015 09:46 AM, Michal Simek wrote: Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Michal Simek
On 08/13/2015 09:46 AM, Michal Simek wrote: Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is tftpboot 8 uImage echo yes and press CTRL+C. Then the second command is called which is incorrect.

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Tom Rini
On Thu, Aug 20, 2015 at 02:15:27PM +0200, Michal Simek wrote: On 08/13/2015 09:46 AM, Michal Simek wrote: Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is tftpboot 8 uImage echo yes and press

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Joe Hershberger
Hi Michal, On Thu, Aug 20, 2015 at 7:15 AM, Michal Simek mon...@monstr.eu wrote: On 08/13/2015 09:46 AM, Michal Simek wrote: Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is tftpboot 8 uImage echo

[U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-13 Thread Michal Simek
Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is tftpboot 8 uImage echo yes and press CTRL+C. Then the second command is called which is incorrect. Error log: zynq-uboot tftpb 8 uImage echo yes