From 862987344403417057deb453dd73887799cb0fcb Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 20 Nov 2014 23:23:00 -0500 Subject: 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. --- (limited to 'addseabios') 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 -- cgit v0.9.1