Commit 03e25c77 authored by Marshall Greenblatt's avatar Marshall Greenblatt

Exit early when patches fail to apply (issue #2012)

parent 6a603af9
......@@ -80,6 +80,7 @@ def apply_patch_config():
if results['fail'] > 0:
sys.stdout.write('\n')
write_note('ERROR', '%d patches failed to apply. Your build will not be correct.' % results['fail'])
raise Exception('%d patches failed to apply. Your build will not be correct.' % results['fail'])
# Parse command-line options.
disc = """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment