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 0e9d5ce..de06daa 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -307,6 +307,10 @@ main(int argc, char** argv)
if (fp_changes != NULL) {
fclose(fp_changes);
}
+
+ //clean up changes file now.
+ unlink("/tmp/.changes");
+
exit (no_errors == FALSE);
}