From 6092b9d93df1c3d5170a2b6aa0275aebef18bd37 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 25 May 2017 14:39:05 -0400 Subject: start moving things to use the libremessages exit codes --- src/gitget/libregit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gitget/libregit') 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 +# Copyright (C) 2012-2013, 2017 Luke Shumaker # # 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 -- cgit v1.2.3-54-g00ecf