diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-04-19 14:37:11 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-06-24 00:50:24 +0200 |
commit | 08058cb91c28a0b28dc4767e4d1683e3d3cab496 (patch) | |
tree | 9ab2bcefac3de638746ccfda9b4a5b9f03924fb1 /recipes/images/files/colibri-vf/update.sh | |
parent | c474f5a9fcfc8eaf8022d58d199ed8af1bc65521 (diff) |
update.sh: omit explicit exit code after recovery command
By omitting an explicit exit code after the recovery command we
will get the exit code of the last command. This makes sense,
since we would be able to tell whether recovery actually succeeded
or not.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes/images/files/colibri-vf/update.sh')
-rwxr-xr-x | recipes/images/files/colibri-vf/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh index b0611bc..38f89d7 100755 --- a/recipes/images/files/colibri-vf/update.sh +++ b/recipes/images/files/colibri-vf/update.sh @@ -134,7 +134,7 @@ if [ "$UBOOT_RECOVERY" -eq 1 ] ; then echo "Put the module in recovery mode and press [ENTER]..." read RESULT sudo ${LOCPATH}/imx_uart ${LOADEROPTS} ${UARTDEV} ${LOCPATH}/vybrid_usb_work.conf ${BINARIES}/u-boot.imx - exit 0 + exit fi #sanity check for correct untared rootfs |