diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-11-14 11:37:28 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-11-14 11:37:28 +0100 |
commit | 3889e42b9e6845b04c513b04f753efae233452ed (patch) | |
tree | 2dcd85a2cced3edd9105e7491e966bf300025a78 /board/pm9263/env/bin/boot | |
parent | db85c9e2b0f57d286c1319052ce19e54b316473e (diff) | |
download | barebox-3889e42b9e6845b04c513b04f753efae233452ed.tar.gz barebox-3889e42b9e6845b04c513b04f753efae233452ed.tar.xz |
Default environments: Do not continue when tftp failed
When we fail to download the kernel image (for example when the
user pressed ctrl-c) do not try to boot the image
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board/pm9263/env/bin/boot')
-rw-r--r-- | board/pm9263/env/bin/boot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pm9263/env/bin/boot b/board/pm9263/env/bin/boot index 05241d93c0..533dea7618 100644 --- a/board/pm9263/env/bin/boot +++ b/board/pm9263/env/bin/boot @@ -37,7 +37,7 @@ if [ $kernel = net ]; then if [ x$ip = xdhcp ]; then dhcp fi - tftp $uimage uImage + tftp $uimage uImage || exit 1 bootm uImage elif [ $kernel = nor ]; then bootm /dev/nor0.kernel |