diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2009-12-01 16:48:36 -0800 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2009-12-01 16:48:36 -0800 |
commit | 8a659f0623895905f5c2c5f2ec535e9a0770478e (patch) | |
tree | 929857aaf3717ec1bc3d710ce2dc7abdcc860ec1 | |
parent | 8f053013ab474ad34b05ad518cbc94f4b4530af8 (diff) | |
download | vyatta-cfg-8a659f0623895905f5c2c5f2ec535e9a0770478e.tar.gz vyatta-cfg-8a659f0623895905f5c2c5f2ec535e9a0770478e.zip |
need to clean up /tmp/.changes file after work is done during commit
-rw-r--r-- | src/commit2.c | 4 |
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); } |