summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-09 17:20:21 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-09 17:20:21 -0700
commit61101aa02584ccaa574fc99c0dd9366a6819b31b (patch)
treebc6a4625884fdb68d1a651847140d12c1d28a65e
parent9719a625221cc3e74e4c73c4ae223456987d0ac1 (diff)
downloadvyatta-cfg-61101aa02584ccaa574fc99c0dd9366a6819b31b.tar.gz
vyatta-cfg-61101aa02584ccaa574fc99c0dd9366a6819b31b.zip
commit needs to flush "progress file"
-rw-r--r--src/commit2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c
index e228523..d45b7c0 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -311,6 +311,7 @@ main(int argc, char** argv)
//now update the changes file
update_change_file(fp_changes,nodes_visited_coll);
+ fflush(fp_changes);
++i;
} while ((trans_child_node = (GNode*)g_node_nth_child((GNode*)trans_coll,(guint)i)) != NULL);