diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-20 23:23:00 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-20 23:23:00 (EST) |
commit | 862987344403417057deb453dd73887799cb0fcb (patch) | |
tree | 03fbf880815c073e9fd7a478508c2340742f406a /addseabios | |
parent | a87f27c40d01f14f139c5bb89df14da8681f4b61 (diff) | |
download | libreboot-862987344403417057deb453dd73887799cb0fcb.zip libreboot-862987344403417057deb453dd73887799cb0fcb.tar.gz libreboot-862987344403417057deb453dd73887799cb0fcb.tar.bz2 |
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 'addseabios')
-rwxr-xr-x | addseabios | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,12 +27,12 @@ echo "Adding SeaBIOS and SeaVGABIOS to the ROM's" # This is how we know. if [ -f "DEBLOB" ]; then echo "Do not run this in meta/src directory. Do it in binary archive, either with libreboot-supplied ROM images or your own binary archive created with 'build-release'." - exit + exit 1 fi if [ ! -f "cbfstool" ]; then echo "cbfstool not found. Please run ./builddeps-cbfstool first. Check the docs for how to get build dependencies." - exit + exit 1 fi # Add SeaBIOS and SeaVGABIOS to *all* ROM's |