summaryrefslogtreecommitdiff
path: root/src/commit2.c
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-03-09 12:18:24 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-03-09 12:18:24 -0700
commit7389eafe6644ed25f4f827cab335ddeed4015db0 (patch)
tree5d155262a710e14519bed1085aaebea9839b7c0d /src/commit2.c
parentd6490b5db349417e9e53c74ef76018f01f729f4c (diff)
downloadvyatta-cfg-7389eafe6644ed25f4f827cab335ddeed4015db0.tar.gz
vyatta-cfg-7389eafe6644ed25f4f827cab335ddeed4015db0.zip
fix for qos-walkthrough. manage def file during commit--should handle general case, just happened to show up on qos-walkthrough (after def files were supported in the new
commit).
Diffstat (limited to 'src/commit2.c')
-rw-r--r--src/commit2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c
index 0d77fb6..269b06f 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -231,6 +231,9 @@ main(int argc, char** argv)
if (disable_partial_commit == TRUE) {
complete(orig_node_tree, test_mode);
}
+ /*
+ * Need to add to the following func below to clean up dangling .wh. files
+ */
common_commit_clean_temp_config(test_mode);
if (g_debug == TRUE) {
printf("commit2: successful commit, now cleaning up temp directories\n");