summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-10-26 12:37:27 -0400
committerJeremy Katz <katzj@redhat.com>2008-10-26 12:38:24 -0400
commitdffc168c88705ac7720ed04bc4cb715d182eab2f (patch)
treedddeeca1f27f58846b1241295c4714cf5b5cb86b /fsset.py
parent7e7360355e985221659bf4b46cc3245966cedfd2 (diff)
downloadanaconda-dffc168c88705ac7720ed04bc4cb715d182eab2f.tar.gz
anaconda-dffc168c88705ac7720ed04bc4cb715d182eab2f.tar.xz
anaconda-dffc168c88705ac7720ed04bc4cb715d182eab2f.zip
Include return code on resize failure error message (#468479)
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fsset.py b/fsset.py
index 4522795eb..a1fdaefd7 100644
--- a/fsset.py
+++ b/fsset.py
@@ -520,7 +520,7 @@ class extFileSystem(FileSystemType):
stderr="/tmp/resize.out",
progress = w)
if rc >= 4:
- raise ResizeError, ("Check of %s failed" %(devicePath,), devicePath)
+ raise ResizeError, ("Check of %s failed: %s" %(devicePath, rc), devicePath)
if progress:
w.pop()
w = progress(_("Resizing"),
@@ -536,7 +536,7 @@ class extFileSystem(FileSystemType):
if progress:
w.pop()
if rc:
- raise ResizeError, ("Resize of %s failed" %(devicePath,), devicePath)
+ raise ResizeError, ("Resize of %s failed: %s" %(devicePath, rc), devicePath)
def getMinimumSize(self, device):
"""Return the minimum filesystem size in megabytes"""