diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-06-11 17:07:54 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-06-11 18:27:51 +0200 |
commit | 1eeb47f942b8ea116b7b38aa018779e8fda2b93b (patch) | |
tree | 1eb212fd43bea7f06f2bef9ad39424b79d44d5cc /release-tools | |
parent | 9c129cdb63fef8f2612c8881dec38539143db1f3 (diff) |
bldinstallercommon.py: Print output if a command fails.
Change-Id: I8684ce85f69fac715216346435f7e9ee59dcd8e5
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'release-tools')
-rw-r--r-- | release-tools/bldinstallercommon.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release-tools/bldinstallercommon.py b/release-tools/bldinstallercommon.py index 822c658..e81cc0c 100644 --- a/release-tools/bldinstallercommon.py +++ b/release-tools/bldinstallercommon.py @@ -561,6 +561,7 @@ def do_execute_sub_process_get_std_out(args, execution_path, abort_on_fail, prin output = theproc.stdout.read() theproc.communicate() if theproc.returncode: + print output print '*** Execution failed with code: %s' % str(theproc.returncode) if abort_on_fail: sys.exit(-1) |