fence-agents/0014-fence_rsb-Fix-62d90e3a0827fcdc5be632bdf4103d3c08b396.patch

28 lines
1017 B
Diff

From a8fb1956465a6b50fd3f4cbb106b192d707f4c8a Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Thu, 2 Oct 2014 16:08:26 +0200
Subject: [PATCH 14/16] fence_rsb: Fix 62d90e3a0827fcdc5be632bdf4103d3c08b39622
Patch was not incorporated correctly from older version.
Resolves: rhbz#1110428
---
fence/agents/rsb/fence_rsb.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/fence/agents/rsb/fence_rsb.py b/fence/agents/rsb/fence_rsb.py
index bcad1de..d21093f 100755
--- a/fence/agents/rsb/fence_rsb.py
+++ b/fence/agents/rsb/fence_rsb.py
@@ -29,7 +29,6 @@ def set_power_status(conn, options):
conn.send("2")
conn.log_expect(options, options["--command-prompt"], int(options["--shell-timeout"]))
conn.send_eol(action)
- conn.log_expect(options, ["want to power off", "'yes' or 'no'"], int(options["--shell-timeout"]))
conn.log_expect(options, ["want to power " + options["--action"],
"yes/no", "'yes' or 'no'"], int(options["--shell-timeout"]))
conn.send_eol("yes")
--
1.8.4.5