Code

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 36cd6aa256db765aa741099b8d3c63b50f58048f..e1bfa82f1ea1213fad8ff8c4b6ad2b17e6ca1f7e 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