summaryrefslogtreecommitdiffstats
path: root/lilo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-18 18:10:30 +0000
committerErik Troan <ewt@redhat.com>2000-06-18 18:10:30 +0000
commitba00a292696feb22e7b7006cee35f5e6df7d9319 (patch)
tree7a543fe34982e7069ad84016765e40d90f454c78 /lilo.py
parent536e2e9e40ba19217daf3e8797f41f1f67aca7dc (diff)
downloadanaconda-ba00a292696feb22e7b7006cee35f5e6df7d9319.tar.gz
anaconda-ba00a292696feb22e7b7006cee35f5e6df7d9319.tar.xz
anaconda-ba00a292696feb22e7b7006cee35f5e6df7d9319.zip
duplicate other images weren't handled correctly
Diffstat (limited to 'lilo.py')
-rw-r--r--lilo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lilo.py b/lilo.py
index 040e349aa..dfdc653b4 100644
--- a/lilo.py
+++ b/lilo.py
@@ -328,9 +328,9 @@ class LiloConfiguration:
for (label, device) in otherList:
try:
- (fsType, sl) = lilo.getImage(device)
- lilo.delImage(device)
- lilo.addImage(device + '-old')
+ (fsType, sl) = lilo.getImage(label)
+ lilo.delImage(label)
+ lilo.addImage(label + '-old')
except IndexError:
sl = LiloConfigFile(imageType = "other", path = device)