From: Trevor Woerner <[email protected]>

If the build.sh script is not invoked correctly (incorrect usage)
exit with non-zero status.

Signed-off-by: Trevor Woerner <[email protected]>
Reviewed-by: Gaetan Nadon <[email protected]>
---
 build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 024750d..10f716b 100755
--- a/build.sh
+++ b/build.sh
@@ -839,7 +839,7 @@ PREFIX=$1
 
 if [ -z "${PREFIX}" ] && [ -z "$LISTONLY" ]; then
     usage
-    exit
+    exit 1
 fi
 
 export HOST_OS=`uname -s`
-- 
1.7.3.rc2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to