Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 9fb1a85034eb8f94a766ba9766a75924947f5e77
Parent: 155370d65d5c027b10ef878c120e26c106625f7c
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Wed Feb 8 17:31:53 2012 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Wed Feb 8 17:37:59 2012 +0100
fence_ipmilan: power_wait timeout is not used for power off operation
Patch proposed by Vlastimil Holer.
Resolves: rhbz#787706
---
fence/agents/ipmilan/ipmilan.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/ipmilan/ipmilan.c b/fence/agents/ipmilan/ipmilan.c
index ddcc0f6..33b6496 100644
--- a/fence/agents/ipmilan/ipmilan.c
+++ b/fence/agents/ipmilan/ipmilan.c
@@ -473,7 +473,7 @@ ipmi_off(struct ipmi *ipmi)
if (ret != 0)
return ret;
- sleep(2);
+ sleep(ipmi->i_power_wait);
--retries;
ret = ipmi_op(ipmi, ST_STATUS, power_status);