From 7389eafe6644ed25f4f827cab335ddeed4015db0 Mon Sep 17 00:00:00 2001 From: slioch Date: Mon, 9 Mar 2009 12:18:24 -0700 Subject: 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). --- src/commit2.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commit2.c') 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"); -- cgit v1.2.3 From bd48938b3dc1634c64c6d099ccf5d193d94c4019 Mon Sep 17 00:00:00 2001 From: slioch Date: Mon, 9 Mar 2009 17:45:28 -0700 Subject: added action and location of error to syslog on commit. error message string will need to be added later after some reworking of the old node execution code. --- src/commit2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commit2.c') diff --git a/src/commit2.c b/src/commit2.c index 269b06f..e6b63fa 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include "common/common.h" @@ -366,6 +367,7 @@ process_func(GNode *node, gpointer data) } if (!status) { //EXECUTE_LIST RETURNS FALSE ON FAILURE.... + syslog(LOG_ERR,"commit error for %s:[%s]\n",ActionNames[result->_action],d->_path); if (g_display_error_node) { fprintf(out_stream,"%s:[%s]\n",ActionNames[result->_action],d->_path); } -- cgit v1.2.3