cluster: STABLE3 - cman: improve error message if ccs_sync fails.
Christine Caulfield
chrissie at fedoraproject.org
Wed Nov 11 08:12:35 UTC 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=048fc4ff023c3e90b6ecea84512bfb60da119da1
Commit: 048fc4ff023c3e90b6ecea84512bfb60da119da1
Parent: c6f345c4d5f88eaaad0154b305dafd91d4c1a0a6
Author: Christine Caulfield <ccaulfie at redhat.com>
AuthorDate: Wed Nov 11 08:11:39 2009 +0000
Committer: Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Wed Nov 11 08:12:18 2009 +0000
cman: improve error message if ccs_sync fails.
Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
cman/cman_tool/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c
index 5e22e67..3d38e86 100644
--- a/cman/cman_tool/main.c
+++ b/cman/cman_tool/main.c
@@ -774,6 +774,8 @@ static void version(commandline_t *comline)
if (comline->verbose > 1)
printf("calling ccs_sync\n");
result = system("/usr/bin/ccs_sync");
+ if (result)
+ die("ccs_sync failed.\nIf you have distributed the config file yourself, try re-running with -S\n");
}
else {
if (comline->verbose)
More information about the cluster-commits
mailing list