summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-08-11 15:41:12 -0500
committerDavid Lehman <dlehman@redhat.com>2009-08-17 17:02:34 -0500
commit09dedb3eb60f0ff4637f5f28a862eb66bb043aa6 (patch)
tree02866c1bd05e41e74fcda2e86557c7691de4536f /storage/formats/fs.py
parent5844130f997e185cc60fdc2767e48dffed3113ee (diff)
downloadanaconda-09dedb3eb60f0ff4637f5f28a862eb66bb043aa6.tar.gz
anaconda-09dedb3eb60f0ff4637f5f28a862eb66bb043aa6.tar.xz
anaconda-09dedb3eb60f0ff4637f5f28a862eb66bb043aa6.zip
Don't try to get the size of fstypes w/ no infofsProg defined.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index e7e3bcf2c..81e3cd00f 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -240,7 +240,7 @@ class FS(DeviceFormat):
"""
size = self._size
- if self.mountable and self.exists and not size:
+ if self.infofsProg and self.mountable and self.exists and not size:
try:
values = []
argv = self._defaultInfoOptions + [ self.device ]