summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-22 16:03:26 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-22 16:03:26 (EDT)
commit486a865bef8c42ab2fc20c54d9342d3b206d61f6 (patch)
treee2945e1b4812c0faa4821813616cea15268f21b6
parent1904080c571030ab0d990c88050d8b01c8a7f5d5 (diff)
Exit on incorrect usage of genopkg.sh.
-rwxr-xr-xgenopkg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/genopkg.sh b/genopkg.sh
index e2e172b..285740a 100755
--- a/genopkg.sh
+++ b/genopkg.sh
@@ -7,6 +7,7 @@
if [ ${#} -ne 2 ]; then
printf 'Usage: %s platform architecture\n' "${0}"
+ exit 1
fi
platform=${1}
arch=${2}