Cluster Project branch, master, updated. cluster-2.99.06-18-g009b751
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=009b751282 aad0f0ac1a98ed74e46986ded187e1
The branch, master has been updated
via 009b751282aad0f0ac1a98ed74e46986ded187e1 (commit)
from dfb973e106b4544fd57b459422f60d82596a7f6c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 009b751282aad0f0ac1a98ed74e46986ded187e1
Author: Christine Caulfield <ccaulfie@redhat.com>
Date: Thu Jul 17 09:30:29 2008 +0100
[CCS] Set return status on failure
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
ccs/ccs_tool/ccs_tool.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ccs/ccs_tool/ccs_tool.c b/ccs/ccs_tool/ccs_tool.c
index 2d48633..dc0e251 100644
--- a/ccs/ccs_tool/ccs_tool.c
+++ b/ccs/ccs_tool/ccs_tool.c
@@ -238,13 +238,11 @@ static int tool_main(int argc, char *argv[])
for (i=2; i<argc; i++)
new_argv[1+i] = argv[i];
- test_main(argc+1, new_argv);
- exit(EXIT_SUCCESS);
+ return test_main(argc+1, new_argv);
}
#else
else if(!strcmp(argv[optind], "query")){
- xpath_query(argc-1, argv+1);
- exit(EXIT_SUCCESS);
+ return xpath_query(argc-1, argv+1);
}
#endif
else if(!strcmp(argv[optind], "addnode")){
hooks/post-receive
--
Cluster Project
|