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 'buildrom-withgrub') 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 -- cgit v0.9.1