cluster: STABLE3 - cman: Look for group_tool in SBINDIR rather than PATH

Christine Caulfield chrissie at fedoraproject.org
Mon Dec 7 09:46:42 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=77d9be5a7000aedbf009afc0fa27687a4b4cfad0
Commit:        77d9be5a7000aedbf009afc0fa27687a4b4cfad0
Parent:        0a6184070c7e3b55df8ca69e09e26721dfa30b83
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Mon Dec 7 09:44:45 2009 +0000
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Mon Dec 7 09:44:45 2009 +0000

cman: Look for group_tool in SBINDIR rather than PATH

We now use SBINDIR to find group_tool when the user asks for
cman_tool services.

See BZ#544108

Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
 cman/cman_tool/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c
index 3d38e86..b943627 100644
--- a/cman/cman_tool/main.c
+++ b/cman/cman_tool/main.c
@@ -550,7 +550,7 @@ static void show_nodes(commandline_t *comline)
 
 static int show_services(void)
 {
-	return system("group_tool ls");
+	return system(SBINDIR "/group_tool ls");
 }
 
 


More information about the cluster-commits mailing list