[PATCH] Fix exitHandler loop deactivation

Brian C. Lane bcl at redhat.com
Fri Jan 24 23:55:22 UTC 2014


---
 anaconda | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index 99782a4..83156ef 100755
--- a/anaconda
+++ b/anaconda
@@ -55,7 +55,7 @@ def exitHandler(rebootData, storage, exitCode=None):
         devicetree.teardownAll()
         for name in devicetree.diskImages:
             dev = devicetree.getDeviceByName(name)
-            for loop in device.parents:
+            for loop in dev.parents:
                 loop.controllable = True
             dev.deactivate(recursive=True)
 
-- 
1.8.4.2



More information about the anaconda-patches mailing list