Blob Blame History Raw
From 4d8159cadc7e7d0acca5d3d27be1c281828a4def Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Wed, 7 Jan 2015 14:40:07 +0100
Subject: [PATCH 4/6] fence_mpath: Fix duplicate "getopt" which was not
 propagated anywhere

Found by integrated tests.
---
 fence/agents/mpath/fence_mpath.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fence/agents/mpath/fence_mpath.py b/fence/agents/mpath/fence_mpath.py
index 8a4811c..1dc3a20 100644
--- a/fence/agents/mpath/fence_mpath.py
+++ b/fence/agents/mpath/fence_mpath.py
@@ -181,7 +181,7 @@ be removed from the device(s).",
 		"order": 1
 	}
 	all_opt["mpathpersist_path"] = {
-		"getopt" : "X:",
+		"getopt" : ":",
 		"longopt" : "mpathpersist-path",
 		"help" : "--mpathpersist-path=[path]     Path to mpathpersist binary",
 		"required" : "0",
@@ -190,7 +190,7 @@ be removed from the device(s).",
 		"order": 200
 	}
 	all_opt["store_path"] = {
-		"getopt" : "X:",
+		"getopt" : ":",
 		"longopt" : "store-path",
 		"help" : "--store-path=[path]            Path to directory containing cached keys",
 		"required" : "0",
-- 
1.9.3