summaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-19 19:30:49 -0700
committerChris Larson <chris_larson@mentor.com>2010-12-19 19:30:49 -0700
commitce5ab0fc524a1c2c48c4c39d6fc8aae23019207b (patch)
treef4267e655332e90c5dbd77b0caae3033ef1f29c9 /lib/bb/runqueue.py
parent24857e2ceb405916b0b0b3e75c6c2375a909b9ba (diff)
downloadbitbake-ce5ab0fc524a1c2c48c4c39d6fc8aae23019207b.tar.gz
Use os.devnull, not /dev/null
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 611901945..1bb626ce0 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1002,7 +1002,7 @@ class RunQueueExecute:
# Make the child the process group leader
os.setpgid(0, 0)
# No stdin
- newsi = os.open('/dev/null', os.O_RDWR)
+ newsi = os.open(os.devnull, os.O_RDWR)
os.dup2(newsi, sys.stdin.fileno())
self.notify_task_started(task)