diff --git a/zuul/ansible/library/zuul_console.py b/zuul/ansible/library/zuul_console.py index 86a42ceb2a..d119c52590 100644 --- a/zuul/ansible/library/zuul_console.py +++ b/zuul/ansible/library/zuul_console.py @@ -49,7 +49,7 @@ def daemonize(): sys.stderr.flush() i = open('/dev/null', 'r') o = open('/dev/null', 'a+') - e = open('/dev/null', 'a+', 0) + e = open('/dev/null', 'ab+', 0) os.dup2(i.fileno(), sys.stdin.fileno()) os.dup2(o.fileno(), sys.stdout.fileno()) os.dup2(e.fileno(), sys.stderr.fileno())