This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
STABLE2 - [fence] Fix fence_xvmd trying to read wrong args from ccs
- From: Lon Hohberger <lon at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 15 Oct 2008 19:21:42 +0000 (UTC)
- Subject: STABLE2 - [fence] Fix fence_xvmd trying to read wrong args from ccs
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=66a16aae99461b575f3987f44feccceb2e7a60ea
Commit: 66a16aae99461b575f3987f44feccceb2e7a60ea
Parent: 3ece18fdd89a4a45166d71d811b78c7ceda57a7d
Author: Lon Hohberger <lhh@redhat.com>
AuthorDate: Wed Oct 15 15:19:11 2008 -0400
Committer: Lon Hohberger <lhh@redhat.com>
CommitterDate: Wed Oct 15 15:21:31 2008 -0400
[fence] Fix fence_xvmd trying to read wrong args from ccs
---
fence/agents/xvm/options-ccs.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fence/agents/xvm/options-ccs.c b/fence/agents/xvm/options-ccs.c
index a4b7987..0384aee 100644
--- a/fence/agents/xvm/options-ccs.c
+++ b/fence/agents/xvm/options-ccs.c
@@ -65,6 +65,9 @@ args_get_ccs(char *optstr, fence_xvm_args_t *args)
continue;
}
+ if (!arg->stdin_opt)
+ continue;
+
n = snprintf(buf, sizeof(buf), "/cluster/fence_xvmd/@%s\n",
arg->stdin_opt);
if (n == sizeof(buf)) {