Blob Blame History Raw
From 11def0b2e4dcd18c5f098ba6a4cb935af937784e 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 1/2] 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.9.3