# [PATCH 3/4] git-cvsexportcommit.perl: exit with non-0 status if patch fails.

1 messages from 2005-11-14 to 2005-11-14. Participants: Kevin Geiss.
Thread: https://gitlist.dev/t/2498

## Kevin Geiss, 2005-11-14 16:42

Subject: [PATCH 3/4] git-cvsexportcommit.perl: exit with non-0 status if patch fails.
Message-ID: <20051114164236.GD9131@raven.localdomain>
URL: https://gitlist.dev/e/20051114164236.GD9131%40raven.localdomain

```
---

 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 7e45b599120811e135c41136fae7570af7f5437b
f615833f7dad1372b93c90814674e13800e4bd63
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);
 }
 
 
---
0.99.9.GIT

```
