From 895344795add3154e041dfdfd98a1496f8695f34 Mon Sep 17 00:00:00 2001 From: slioch Date: Mon, 30 Mar 2009 11:08:46 -0700 Subject: propagate commit failure error to commit return status. --- src/commit2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commit2.c b/src/commit2.c index 0dc85eb..3d45e16 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -269,7 +269,8 @@ main(int argc, char** argv) if (g_debug) { printf("DONE\n"); } - exit(0); + + exit (no_errors == FALSE); } /** -- cgit v1.2.3