summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r--bitbake/lib/bb/server/process.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index ed930c61f4..786877bc44 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -489,7 +489,8 @@ def connectProcessServer(sockname, featureset):
489 command_chan.close() 489 command_chan.close()
490 for i in [writefd, readfd1, writefd2]: 490 for i in [writefd, readfd1, writefd2]:
491 try: 491 try:
492 os.close(i) 492 if i:
493 os.close(i)
493 except OSError: 494 except OSError:
494 pass 495 pass
495 sock.close() 496 sock.close()