From: Trevor Woerner <twoer...@gmail.com>

If the build script is invoked incorrectly, return non-zero
to indicate the usage error.

Signed-off-by: Trevor Woerner <twoer...@gmail.com>
---
 build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index a01cb4c..9e74c28 100755
--- a/build.sh
+++ b/build.sh
@@ -839,7 +839,7 @@ done
 
 if test x"${PREFIX}" = x && test -z "$LISTONLY"; then
     usage
-    exit
+    exit 1
 fi
 
 if test -z "$LISTONLY"; then
-- 
1.7.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to