diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-21 04:23:00 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-21 04:23:00 +0000 |
commit | 862987344403417057deb453dd73887799cb0fcb (patch) | |
tree | 03fbf880815c073e9fd7a478508c2340742f406a /flash | |
parent | a87f27c40d01f14f139c5bb89df14da8681f4b61 (diff) | |
download | librebootfr-862987344403417057deb453dd73887799cb0fcb.tar.gz librebootfr-862987344403417057deb453dd73887799cb0fcb.zip |
scripts (error handling): Replace exit with exit 1
This is so that scripts using these in the future can
more easily debug if errors occur.
Diffstat (limited to 'flash')
-rwxr-xr-x | flash | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,11 +29,11 @@ if (( $# != 1 )); then echo "Usage: ./lenovobios_firstflash yourrom.rom" echo "usage: ./lenovobios_firstflash path/to/yourrom.rom" echo "You need to specify exactly 1 file" - exit + exit 1 fi if [ ! -f $1 ]; then echo "File not found!" - exit + exit 1 fi # boardmismatch=force is for people upgrading from libreboot 5th release, where the new ROM's are "ThinkPad X60 / X60s / X60t" |