Code

git-cvsserver: exit with 1 upon "I HATE YOU"
authorJunio C Hamano <junkio@cox.net>
Sun, 20 May 2007 00:53:45 +0000 (17:53 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 20 May 2007 07:19:48 +0000 (00:19 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl

index ac88625fc2733b7de9f73bcdfc6bc466de44ac4a..fcfb99db65599650d5ac6188b40b54d27ecf6f60 100755 (executable)
@@ -105,7 +105,7 @@ if (@ARGV && $ARGV[0] eq 'pserver') {
     unless ($line eq 'anonymous') {
        print "E Only anonymous user allowed via pserver\n";
        print "I HATE YOU\n";
-       exit;
+       exit 1;
     }
     $line = <STDIN>; chomp $line;    # validate the password?
     $line = <STDIN>; chomp $line;