aboutsummaryrefslogtreecommitdiff
path: root/git-cvsexportcommit.perl
diff options
context:
space:
mode:
authorKevin Geiss <kevin@desertsol.com>2005-11-14 09:42:36 -0700
committerJunio C Hamano <junkio@cox.net>2005-11-16 13:20:59 -0800
commit8b3fbeef395295c0d2de61265632ed30eda7bf0a (patch)
tree5e97cdc83785fcfdbb9405ac0fb83d8e40a8d4b9 /git-cvsexportcommit.perl
parentebdbfa8b556c9b4cebf27cb5f9364c9c19274620 (diff)
downloadgit-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.gz
git-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.xz
git-cvsexportcommit.perl: exit with non-0 status if patch fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cvsexportcommit.perl')
-rwxr-xr-xgit-cvsexportcommit.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index da7dcda3b..d49494abc 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -190,7 +190,7 @@ if ($dirtypatch) {
print "NOTE: One or more hunks failed to apply cleanly.\n";
print "Resolve the conflicts and then commit using:n";
print "\n $cmd\n\n";
- exit;
+ exit(1);
}