summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper2
-rw-r--r--src/commit2.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index 6eeff99..ef4cb81 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -86,7 +86,7 @@ case "$1" in
RET_STATUS=$?
;;
commit_with_error)
- /opt/vyatta/sbin/my_commit -e
+ /opt/vyatta/sbin/my_commit -x
RET_STATUS=$?
;;
save)
diff --git a/src/commit2.c b/src/commit2.c
index b33d6c0..2f9be94 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -592,7 +592,8 @@ process_func(GNode *node, gpointer data)
char *p = clind_unescape(path_buf);
if (strlen(outbuf) > 0) {
- fprintf(out_stream,"[ %s ] \n %s\n",p,outbuf);
+ //currently set to format option for GUI client.
+ fprintf(out_stream,"_errloc_:[%s]\n%s\n",p,outbuf);
}
}
}