[f22/master] Fix a bad usage of execWithRedirect (#1197290)

David Shea dshea at redhat.com
Mon Mar 2 16:52:12 UTC 2015


---
 pyanaconda/kickstart.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 756eb81..15d38bc 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -566,7 +566,7 @@ class Realm(commands.realm.F19_Realm):
                pw_args + self.join_args
         rc = -1
         try:
-            rc = iutil.execWithRedirect("realm", argv)[0]
+            rc = iutil.execWithRedirect("realm", argv)
         except OSError:
             pass
 
-- 
2.1.0



More information about the anaconda-patches mailing list