summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2017-04-06 14:19:14 +0100
committerJavier Jardón <jjardon@gnome.org>2017-05-11 08:24:32 +0000
commitf513f479cd8e5ad6f17760d58b13a34dcae62aaa (patch)
treef7cd4e20ca85d5b209c82c6e9eeded764946664b
parent0cdcca7574f8c879505aa69d10cf3ba1df8a3410 (diff)
downloadybd-f513f479cd8e5ad6f17760d58b13a34dcae62aaa.tar.gz
Return same tuple on failure in run_sandboxed
-rw-r--r--ybd/sandbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/sandbox.py b/ybd/sandbox.py
index 45a2dce..1e685a2 100644
--- a/ybd/sandbox.py
+++ b/ybd/sandbox.py
@@ -199,7 +199,7 @@ def run_sandboxed(dn, command, env=None, allow_parallel=False,
app.log(dn, 'ERROR: log file is at', dn['log'])
app.log(dn, 'Sandbox debris is at', dn['sandbox'],
exit=exit_on_error)
- return False
+ return False, out, err
finally:
if cur_makeflags is not None:
env['MAKEFLAGS'] = cur_makeflags