From: Johannes Berg <johannes.berg@xxxxxxxxx> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- gentree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gentree.py b/gentree.py index a80b0a8def29..03bff1a815c6 100755 --- a/gentree.py +++ b/gentree.py @@ -608,6 +608,7 @@ def apply_patches(args, desc, source_dir, patch_src, target_dir, logwrite=lambda sprocess.wait() if sprocess.returncode != 0: logwrite("Failed to process SmPL patch %s with %i" % (print_name, sprocess.returncode)) + logwrite(output) return 2 output = output.split('\n') if output[-1] == '': -- 2.45.1