summaryrefslogtreecommitdiff
path: root/src/commit2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit2.c')
-rw-r--r--src/commit2.c3
1 files changed, 2 insertions, 1 deletions
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);
}
/**