summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-02-17 11:46:02 -0800
committerslioch <slioch@eng-140.vyatta.com>2009-02-17 11:46:02 -0800
commitaec9ee38b819e7e9612c6347ed5a08d3f9ea4320 (patch)
tree9cd88f45b97316c7b54abca8e9a3c5e05ceab6e3 /src
parent6e5cd24a9b13b317443cc24749da486ec84930f3 (diff)
downloadvyatta-cfg-aec9ee38b819e7e9612c6347ed5a08d3f9ea4320.tar.gz
vyatta-cfg-aec9ee38b819e7e9612c6347ed5a08d3f9ea4320.zip
added generic commit failed message on any portion of the configuration failing. To get
additional details (i.e. location of failure and actions associated with nodes) run with the -e flag.
Diffstat (limited to 'src')
-rw-r--r--src/commit2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c
index b56fceb..6555bd8 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -202,6 +202,10 @@ main(int argc, char** argv)
printf("commit2: successful commit, now cleaning up temp directories\n");
}
}
+ else {
+ fprintf(out_stream,"Commit failed\n");
+ }
+
set_in_commit(FALSE);
cleanup(config_data);