summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-07-26 18:55:47 +0000
committerErik Troan <ewt@redhat.com>2000-07-26 18:55:47 +0000
commitfa25c4547239977d1ead9d6962c0734259f28e62 (patch)
tree5efa5b9aa649f2064c2108e4fd2a1700f3d78c17 /fstab.py
parent4c2dfd186cc374cb659179139a209caf42f34915 (diff)
downloadanaconda-fa25c4547239977d1ead9d6962c0734259f28e62.tar.gz
anaconda-fa25c4547239977d1ead9d6962c0734259f28e62.tar.xz
anaconda-fa25c4547239977d1ead9d6962c0734259f28e62.zip
fixed loopback upgrades (broke readFstab when adding LABEL support)
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fstab.py b/fstab.py
index 01bdad574..521fb2e2a 100644
--- a/fstab.py
+++ b/fstab.py
@@ -1026,11 +1026,10 @@ def readFstab (path, fstab):
# this skips swap files! todo has to put them back for upgrades
device = fields[0][5:]
+ fsystem = fields[2]
if loopIndex.has_key(device):
(device, fsystem) = loopIndex[device]
- fsystem = fields[2]
-
fstab.addMount(device, fields[1], fsystem)
def createLabel(labels, newLabel):