From: smckown Date: Mon, 23 Nov 2009 20:30:03 +0000 (+0000) Subject: Change exit 0 to exit 1, so we do return an error code when appropriate. X-Git-Url: https://oss.titaniummirror.com/gitweb?p=git-utils.git;a=commitdiff_plain;h=deed66c863e13a1fb1b94d57c7b0d158d70cba46 Change exit 0 to exit 1, so we do return an error code when appropriate. --- diff --git a/git-local b/git-local index 3378a2c..d908a92 100755 --- a/git-local +++ b/git-local @@ -81,7 +81,7 @@ case "$1" in ;; *) usage - exit 0 + exit 1 ;; esac @@ -96,7 +96,7 @@ elif [ $# -eq 2 ]; then prefix=$2 elif [ $# -gt 2 ]; then usage - exit 0 + exit 1 fi if [ -z "$remote" ]; then @@ -126,6 +126,6 @@ case $op in *) usage - exit 0 + exit 1 ;; esac