diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2011-02-04 13:50:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-07 22:10:28 +0100 |
commit | c5dd4c4d0a6a6c6f59a4ab03869a34d568450935 (patch) | |
tree | b4e68defd15931ebd45fc1ab67321341c395cbb7 /lib/bzlib_crctable.c | |
parent | f5660396eb902d1c1a2a928c1cfbbd261dd55475 (diff) | |
download | barebox-c5dd4c4d0a6a6c6f59a4ab03869a34d568450935.tar.gz barebox-c5dd4c4d0a6a6c6f59a4ab03869a34d568450935.tar.xz |
defaultenv/bin/update: fix return values
This patch fixes the return values of the update script.
- Exit with an error of the "_update" script fails.
- Add a "else; true" to the crc check, otherwise the script
exits with "1".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/bzlib_crctable.c')
0 files changed, 0 insertions, 0 deletions