[PATCH] Don't try to get the size of fstypes w/ no infofsProg defined.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/formats/fs.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index e7e3bcf..81e3cd0 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 ]
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux