summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Geiss <kevin@desertsol.com>2005-11-14 16:42:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-16 21:20:59 (GMT)
commit8b3fbeef395295c0d2de61265632ed30eda7bf0a (patch)
tree5e97cdc83785fcfdbb9405ac0fb83d8e40a8d4b9
parentebdbfa8b556c9b4cebf27cb5f9364c9c19274620 (diff)
downloadgit-8b3fbeef395295c0d2de61265632ed30eda7bf0a.zip
git-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.gz
git-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.bz2
git-cvsexportcommit.perl: exit with non-0 status if patch fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-cvsexportcommit.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index da7dcda..d49494a 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);
}