public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - fence_tool: ls EXIT_FAILURE
@ 2009-03-05 20:42 David Teigland
0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-03-05 20:42 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=678d2b3a6244a0c2b4efd82a123a7a48b575de52
Commit: 678d2b3a6244a0c2b4efd82a123a7a48b575de52
Parent: 64b00b3216f9c60bd484f66f1c9424ac9af132bd
Author: David Teigland <teigland@redhat.com>
AuthorDate: Thu Mar 5 14:38:36 2009 -0600
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Thu Mar 5 14:38:36 2009 -0600
fence_tool: ls EXIT_FAILURE
when fenced is not running instead of SUCCESS
Signed-off-by: David Teigland <teigland@redhat.com>
---
fence/fence_tool/fence_tool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/fence_tool/fence_tool.c b/fence/fence_tool/fence_tool.c
index f5a857e..ce96359 100644
--- a/fence/fence_tool/fence_tool.c
+++ b/fence/fence_tool/fence_tool.c
@@ -471,7 +471,7 @@ static int do_list(void)
rv = fenced_domain_info(&d);
if (rv < 0)
- exit(EXIT_SUCCESS); /* fenced probably not running */
+ exit(EXIT_FAILURE); /* fenced probably not running */
printf("fence domain\n");
printf("member count %d\n", d.member_count);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-05 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 20:42 cluster: STABLE3 - fence_tool: ls EXIT_FAILURE David Teigland
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 read-only IMAP folder(s) and NNTP newsgroup(s).