From: Vojtech Trefny <vtrefny(a)redhat.com>
Signed-off-by: Vojtech Trefny <vtrefny(a)redhat.com>
---
blivet/tasks/fsminsize.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/tasks/fsminsize.py b/blivet/tasks/fsminsize.py
index 999240e..51bf61e 100644
--- a/blivet/tasks/fsminsize.py
+++ b/blivet/tasks/fsminsize.py
@@ -54,7 +54,7 @@ def _getResizeInfo(self):
except OSError as e:
error_msg = "failed to gather info from resize program: %s" % e
if rc:
- error_msg = "failed to gather info from resize program: %s" % e
+ error_msg = "failed to gather info from resize program: %d" % rc
if error_msg:
raise FSError(error_msg)
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/dfacb22c731efc19252efb788d6d...