From: rohara@sourceware.org <rohara@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/ccs/ccs_tool ccs_tool.c
Date: 30 Aug 2007 16:25:50 -0000 [thread overview]
Message-ID: <20070830162550.5820.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rohara at sourceware.org 2007-08-30 16:25:50
Modified files:
ccs/ccs_tool : ccs_tool.c
Log message:
BZ 249781 - Fix ccs_tool to return EXIT_SUCCESS for most commands.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/ccs_tool.c.diff?cvsroot=cluster&r1=1.7&r2=1.8
--- cluster/ccs/ccs_tool/ccs_tool.c 2007/08/22 08:58:36 1.7
+++ cluster/ccs/ccs_tool/ccs_tool.c 2007/08/30 16:25:50 1.8
@@ -62,35 +62,35 @@
else if(!strcmp(argv[optind], "addnode")){
add_node(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "delnode")){
del_node(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "addfence")){
add_fence(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "delfence")){
del_fence(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "lsnode")){
list_nodes(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "lsfence")){
list_fences(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "create")){
create_skeleton(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else if(!strcmp(argv[optind], "addnodeids")){
add_nodeids(argc-1, argv+1);
- exit(EXIT_FAILURE);
+ exit(EXIT_SUCCESS);
}
else {
next reply other threads:[~2007-08-30 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 16:25 rohara [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-02 21:08 [Cluster-devel] cluster/ccs/ccs_tool ccs_tool.c rohara
2007-08-30 16:26 rohara
2006-09-19 13:17 jbrassow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070830162550.5820.qmail@sourceware.org \
--to=rohara@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).