From deed66c863e13a1fb1b94d57c7b0d158d70cba46 Mon Sep 17 00:00:00 2001 From: smckown Date: Mon, 23 Nov 2009 20:30:03 +0000 Subject: [PATCH] Change exit 0 to exit 1, so we do return an error code when appropriate. --- git-local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2