[PATCH] testbot/WineSendLog: Print a message for non-mailing list jobs.

Francois Gouget fgouget at codeweavers.com
Wed Jul 11 04:31:19 CDT 2018


WineSendLog exits early for these.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineSendLog.pl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 29da4a04d..f095bce8d 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -426,7 +426,11 @@ EOF
   close(SENDMAIL);
 
   # This is all for jobs submitted from the website
-  return if (!defined $Job->Patch);
+  if (!defined $Job->Patch)
+  {
+    Debug("Not a mailing list patch -> all done.\n");
+    return;
+  }
 
   #
   # Build a job summary with only the new errors
-- 
2.18.0



More information about the wine-devel mailing list