diff mbox series

[70/74] gentree: print spatch stdout/stderr on errors

Message ID 20240524190907.f5deeb33877f.I9b2f222b424bf47ec9778f8b5cfc1cf2e57cdca5@changeid (mailing list archive)
State New, archived
Headers show
Series backport updates from Intel | expand

Commit Message

Johannes Berg May 24, 2024, 5:08 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 gentree.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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] == '':