* src/main.c (main): Call osync_clear before re-executing
ourselves.
---
 src/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main.c b/src/main.c
index 3821089c..57aa1e8b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2727,6 +2727,8 @@ main (int argc, char **argv, char **envp)
           fflush (stdout);
           fflush (stderr);
 
+          osync_clear ();
+
           /* The exec'd "child" will be another make, of course.  */
           jobserver_pre_child(1);
 
-- 
2.37.3


-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to