diff options
author | root <root@vyatta-build2.(none)> | 2010-10-11 15:50:36 -0700 |
---|---|---|
committer | root <root@vyatta-build2.(none)> | 2010-10-11 15:50:36 -0700 |
commit | 73ee5b7ec3ad013fee079830969fb1ddec6ae2da (patch) | |
tree | 2a658b11f4cb6060fc66d5e8028c67421353ebc2 /src | |
parent | db4b7b3e30ae7f116bc09c8ed27c4cde00dc0c32 (diff) | |
download | vyatta-cfg-73ee5b7ec3ad013fee079830969fb1ddec6ae2da.tar.gz vyatta-cfg-73ee5b7ec3ad013fee079830969fb1ddec6ae2da.zip |
change error location tag from commit process
Diffstat (limited to 'src')
-rw-r--r-- | src/commit2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit2.c b/src/commit2.c index 51bb7dd..0eb75f0 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -590,7 +590,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); + fprintf(out_stream,"%s@errloc:[%s]\n",ActionNames[result->_action],d->_path); } result->_err_code = 1; if (g_debug) { @@ -1404,7 +1404,7 @@ validate_func(GNode *node, gpointer data) } 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); + fprintf(out_stream,"%s@errloc:[%s]\n",ActionNames[result->_action],d->_path); } result->_err_code = 1; if (g_debug) { |