summaryrefslogtreecommitdiff
path: root/addseabios
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-21 04:23:00 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-11-21 04:23:00 +0000
commit862987344403417057deb453dd73887799cb0fcb (patch)
tree03fbf880815c073e9fd7a478508c2340742f406a /addseabios
parenta87f27c40d01f14f139c5bb89df14da8681f4b61 (diff)
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-xaddseabios4
1 files changed, 2 insertions, 2 deletions
diff --git a/addseabios b/addseabios
index eea70b4..1d9147e 100755
--- a/addseabios
+++ b/addseabios
@@ -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