OSDN Git Service

git-tag: lose exit after die
authorJunio C Hamano <junkio@cox.net>
Sat, 23 Dec 2006 06:48:46 +0000 (22:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 23 Dec 2006 06:48:46 +0000 (22:48 -0800)
We are not running under /bin/resurrection shell ;-)

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-tag.sh

index 36cd6aa..e1bfa82 100755 (executable)
@@ -40,7 +40,6 @@ do
        message="$1"
        if test "$#" = "0"; then
            die "error: option -m needs an argument"
-           exit 2
        else
            message_given=1
        fi
@@ -50,7 +49,6 @@ do
        shift
        if test "$#" = "0"; then
            die "error: option -F needs an argument"
-           exit 2
        else
            message="$(cat "$1")"
            message_given=1