fence-agents: RHEL6 - fence_brocade: support option action on STDIN, originally only operation was supported
Marek GrĂ¡c
marx at fedoraproject.org
Thu Apr 12 09:41:29 UTC 2012
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9a31eed921b0c5fa00e052ba7ae69b553158ac04
Commit: 9a31eed921b0c5fa00e052ba7ae69b553158ac04
Parent: d2cbc1199207c4075345c51ba159cb9d5801f014
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Thu Apr 12 11:36:35 2012 +0200
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Thu Apr 12 11:41:17 2012 +0200
fence_brocade: support option action on STDIN, originally only operation was supported
Resolves: rhbz#804805
---
fence/agents/brocade/fence_brocade.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/brocade/fence_brocade.pl b/fence/agents/brocade/fence_brocade.pl
index b6d3f45..c820779 100644
--- a/fence/agents/brocade/fence_brocade.pl
+++ b/fence/agents/brocade/fence_brocade.pl
@@ -294,7 +294,7 @@ sub get_options_stdin
# FIXME -- depreicated residue of old fencing system
elsif ($name eq "name" ) { }
- elsif ($name eq "option" )
+ elsif (($name eq "option" ) || ($name eq "action"))
{
$opt_o = $val;
}
More information about the cluster-commits
mailing list