diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-10-26 12:37:27 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-10-26 12:38:24 -0400 |
commit | dffc168c88705ac7720ed04bc4cb715d182eab2f (patch) | |
tree | dddeeca1f27f58846b1241295c4714cf5b5cb86b /fsset.py | |
parent | 7e7360355e985221659bf4b46cc3245966cedfd2 (diff) | |
download | anaconda-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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""" |