Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Common/ExecCmd.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lnst/Common/ExecCmd.py b/lnst/Common/ExecCmd.py
index c6c13b3f..7b40ef4a 100644
--- a/lnst/Common/ExecCmd.py
+++ b/lnst/Common/ExecCmd.py
@@ -37,6 +37,9 @@ class ExecCmdFail(LnstError):
def get_stdout(self):
return self._stdout
+ def get_retval(self):
+ return self._retval
+
def __str__(self):
retval = ""
stderr = ""
--
2.21.1