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:26:43 -0000 [thread overview]
Message-ID: <20070830162643.6183.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rohara at sourceware.org 2007-08-30 16:26:42
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&only_with_tag=RHEL5&r1=1.5&r2=1.5.2.1
--- cluster/ccs/ccs_tool/ccs_tool.c 2006/09/19 13:17:04 1.5
+++ cluster/ccs/ccs_tool/ccs_tool.c 2007/08/30 16:26:42 1.5.2.1
@@ -56,35 +56,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:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 16:26 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:25 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=20070830162643.6183.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.