summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commit2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c
index b8f2542..788ef09 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -338,6 +338,10 @@ main(int argc, char** argv)
if (fp_changes != NULL) {
fclose(fp_changes);
}
+
+ //remove tmp changes file as all the work is now done
+ unlink("/tmp/.changes");
+
exit (no_errors == FALSE);
}