summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake-worker3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 5d062a23e9..963b4cdf93 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -436,8 +436,7 @@ class BitbakeWorker(object):
436 self.build_pipes[pipe].read() 436 self.build_pipes[pipe].read()
437 437
438try: 438try:
439 sys.stdin = sys.stdin.detach() 439 worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
440 worker = BitbakeWorker(sys.stdin)
441 if not profiling: 440 if not profiling:
442 worker.serve() 441 worker.serve()
443 else: 442 else: