summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-09-11 16:51:58 -0500
committerDavid Lehman <dlehman@redhat.com>2012-09-13 11:13:22 -0500
commit33fc6f494da67d9991e0f945892e36221d03fe14 (patch)
treea8221588f3c724289377dd45116bb0c6cf56414d
parent2258df61a59e5e8596db10ac27290a70dc3b5c6f (diff)
downloadanaconda-33fc6f494da67d9991e0f945892e36221d03fe14.tar.gz
anaconda-33fc6f494da67d9991e0f945892e36221d03fe14.tar.xz
anaconda-33fc6f494da67d9991e0f945892e36221d03fe14.zip
The return value of execWithRedirect is an integer.
-rw-r--r--pyanaconda/storage/formats/fs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 7b334761f..c4f693c3d 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -496,11 +496,11 @@ class FS(DeviceFormat):
except Exception as e:
raise FSError("filesystem check failed: %s" % e)
- if self._fsckFailed(ret.rc):
+ if self._fsckFailed(ret):
hdr = _("%(type)s filesystem check failure on %(device)s: ") % \
{"type": self.type, "device": self.device}
- msg = self._fsckErrorMessage(ret.rc)
+ msg = self._fsckErrorMessage(ret)
# FIXME: Bluh?
if False: