summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/text.py b/text.py
index bdd2a49d7..24e827b2d 100644
--- a/text.py
+++ b/text.py
@@ -432,7 +432,8 @@ class FormatWindow:
for mount in todo.mounts.keys ():
(dev, fstype, format) = todo.mounts[mount]
- todo.mounts[mount] = (dev, fstype, 0)
+ if fstype == "ext2":
+ todo.mounts[mount] = (dev, fstype, 0)
for mount in ct.getSelection():
(dev, fstype, format) = todo.mounts[mount]