diff options
author | 2010-12-19 19:30:49 -0700 | |
---|---|---|
committer | 2010-12-19 19:30:49 -0700 | |
commit | ce5ab0fc524a1c2c48c4c39d6fc8aae23019207b (patch) | |
tree | f4267e655332e90c5dbd77b0caae3033ef1f29c9 /lib/bb/runqueue.py | |
parent | 24857e2ceb405916b0b0b3e75c6c2375a909b9ba (diff) | |
download | bitbake-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.py | 2 |
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) |