git-cvsexportcommit.perl: exit with non-0 status if patch fails.
[git.git] / git-cvsexportcommit.perl
index da7dcda..d49494a 100755 (executable)
@@ -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);
 }