summaryrefslogtreecommitdiffstats
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-20 02:53:45 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-20 09:19:48 +0200
commite40a30452d3ab024b06238abab3968b872dd5e1c (patch)
treed531973996d3291c1f35c7074212054d0d3b6933 /git-cvsserver.perl
parentMerge branch 'maint' to synchronize with 1.5.1.6 (diff)
downloadgit-e40a30452d3ab024b06238abab3968b872dd5e1c.tar.xz
git-e40a30452d3ab024b06238abab3968b872dd5e1c.zip
git-cvsserver: exit with 1 upon "I HATE YOU"
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cvsserver.perl')
-rwxr-xr-xgit-cvsserver.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index ac88625fc2..fcfb99db65 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -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;