From 8a659f0623895905f5c2c5f2ec535e9a0770478e Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 1 Dec 2009 16:48:36 -0800 Subject: need to clean up /tmp/.changes file after work is done during commit --- src/commit2.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3