summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-03-10 09:41:45 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-03-10 16:15:39 -1000
commitadf5421a1f5953b1848eb2cc3733a5d1f61ed294 (patch)
treef0562dcc8db0654e0176f693359bed46a1d4f83a /storage
parent286bb4ad445b60405c39cf804f9a1363bc55a152 (diff)
downloadanaconda-adf5421a1f5953b1848eb2cc3733a5d1f61ed294.tar.gz
anaconda-adf5421a1f5953b1848eb2cc3733a5d1f61ed294.tar.xz
anaconda-adf5421a1f5953b1848eb2cc3733a5d1f61ed294.zip
Fix _getCheckArgs() in class FS.
_getCheckArgs() needs to return argv. In doCheck(), replace argv with a call to self._getCheckArgs().
Diffstat (limited to 'storage')
-rw-r--r--storage/formats/fs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 65641bea9..144e8fd43 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)