summaryrefslogtreecommitdiffstats
path: root/buildrom-withgrub
diff options
context:
space:
mode:
authorFrancis 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)
commit862987344403417057deb453dd73887799cb0fcb (patch)
tree03fbf880815c073e9fd7a478508c2340742f406a /buildrom-withgrub
parenta87f27c40d01f14f139c5bb89df14da8681f4b61 (diff)
downloadlibreboot-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 'buildrom-withgrub')
-rwxr-xr-xbuildrom-withgrub2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub
index 489fac6..b86bbe9 100755
--- a/buildrom-withgrub
+++ b/buildrom-withgrub
@@ -28,7 +28,7 @@ if (( $# != 1 )); then
echo "Usage: ./buildrom-withgrub boardname"
echo "Example: ./buildrom-withgrub x60"
echo "You need to specify exactly 1 argument"
- exit
+ exit 1
fi
cd coreboot