summaryrefslogtreecommitdiff
path: root/src/gitget/libregit
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitget/libregit')
-rwxr-xr-xsrc/gitget/libregit4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gitget/libregit b/src/gitget/libregit
index 6c49af5..5b7e799 100755
--- a/src/gitget/libregit
+++ b/src/gitget/libregit
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# Copyright (C) 2012-2013 Luke Shumaker <lukeshu@sbcglobal.net>
+# Copyright (C) 2012-2013, 2017 Luke Shumaker <lukeshu@sbcglobal.net>
#
# License: GNU GPLv2+
#
@@ -32,7 +32,7 @@ usage() {
}
main() {
- [[ $# == 3 ]] || { usage >&2; return 1; }
+ [[ $# == 3 ]] || { usage >&2; exit $EXIT_INVALIDARGUMENT; }
repo=$1
ref=$2
dir=$3