diff options
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -956,7 +956,7 @@ def readFstab (path, fstab): if not fields: continue - if fields[0] == "#" and len(fields)>4 and fields[1][0:4] == "LOOP": + if fields[0] == "#" and len(fields)>4 and fields[2:6] == "LOOP": device = string.lower(fields[1]) if device[len(device) - 1] == ":": device = device[0:len(device) - 1] |