Fix the behaviour of the 'run' command
authorTimo Ketola <timo@exertus.fi>
Sun, 22 Apr 2012 23:57:27 +0000 (23:57 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 23 Apr 2012 20:07:00 +0000 (22:07 +0200)
commit030fca5228a2a1e946ac13ff8fae9ccb8c516d7b
tree71c7147d8841668e40447c890db542af1380a433
parent2790bf69dc12fb9aeb9836904e5f57c7f83d5552
Fix the behaviour of the 'run' command

If one command fails, 'run' command should terminate and not execute
any remaining variables.

Signed-off-by: Timo Ketola <timo@exertus.fi>
Tested-by: Wolfgang Denk <wd@denx.de>
Tested-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/main.c