summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.py b/fstab.py
index 500b31994..2d332f798 100644
--- a/fstab.py
+++ b/fstab.py
@@ -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]