diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index efb4332394..81617acd96 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -499,7 +499,8 @@ def connectProcessServer(sockname, featureset): | |||
499 | command_chan.close() | 499 | command_chan.close() |
500 | for i in [writefd, readfd1, writefd2]: | 500 | for i in [writefd, readfd1, writefd2]: |
501 | try: | 501 | try: |
502 | os.close(i) | 502 | if i: |
503 | os.close(i) | ||
503 | except OSError: | 504 | except OSError: |
504 | pass | 505 | pass |
505 | sock.close() | 506 | sock.close() |