[PATCH 2/8] Fix _getCheckArgs() in class FS.

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

 



_getCheckArgs() needs to return argv.  In doCheck(), replace argv
with a call to self._getCheckArgs().
---
 storage/formats/fs.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 65641be..144e8fd 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -367,6 +367,7 @@ class FS(DeviceFormat):
         argv = []
         argv.extend(self.defaultCheckOptions)
         argv.append(self.device)
+        return argv
 
     def doCheck(self, intf=None):
         if not self.exists:
@@ -387,7 +388,7 @@ class FS(DeviceFormat):
 
         try:
             rc = iutil.execWithPulseProgress(self.fsckProg,
-                                             argv,
+                                             self._getCheckArgs(),
                                              stdout="/dev/tty5",
                                              stderr="/dev/tty5",
                                              progress = w)
-- 
1.6.1.3

_______________________________________________
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