From: Kevin Geiss Date: Mon, 14 Nov 2005 16:42:36 +0000 (-0700) Subject: git-cvsexportcommit.perl: exit with non-0 status if patch fails. X-Git-Tag: v0.99.9k~3^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8b3fbeef395295c0d2de61265632ed30eda7bf0a;p=git.git git-cvsexportcommit.perl: exit with non-0 status if patch fails. Signed-off-by: Junio C Hamano --- diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index da7dcda3..d49494ab 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); }