diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-04-06 14:18:01 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-05-11 08:24:32 +0000 |
commit | 0cdcca7574f8c879505aa69d10cf3ba1df8a3410 (patch) | |
tree | 425674bdeade355c0d628df15ca7b7af5d99eb0b | |
parent | c8610c53b5645e4ef97fb9eb8f18acfe380b3b02 (diff) | |
download | ybd-0cdcca7574f8c879505aa69d10cf3ba1df8a3410.tar.gz |
Ensure success variable is set to exit result
-rw-r--r-- | ybd/rpm.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -248,8 +248,8 @@ def package_one_rpm(dn, userdata): # Keep building all the rpms we can even if one fails, # we'd rather see everything that failed in a log at once. - success = sandbox.run_sandboxed(system, command, env_vars, - exit_on_error=False) + success, _, _ = sandbox.run_sandboxed( + system, command, env_vars, exit_on_error=False) else: app.log(dn, "Failed to generate spec, not generating rpm") |