summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-18 10:22:43 -0700
committerChris Larson <chris_larson@mentor.com>2010-12-18 10:22:43 -0700
commit8672abb230dc78c9dec0731bfbabf53a3a7c9f8f (patch)
tree95aede09a0d5e1591105ce89f6c4c05bd7cf024b
parentde2368ce38dbf6772383832f972d0d3ef4ac0cd2 (diff)
downloadbitbake-8672abb230dc78c9dec0731bfbabf53a3a7c9f8f.tar.gz
server: fix NULL file mode
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index dd84fdfad..78fa5be3f 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -30,7 +30,7 @@ from multiprocessing import Process, Event
from bb.cooker import BBCooker
logger = logging.getLogger('BitBake')
-NULL = open('/dev/null', 'a')
+NULL = open('/dev/null', 'r+')
class ServerCommunicator():
def __init__(self, connection):