--- trac/util/daemon.py~ 2012-02-06 14:53:52.000000000 -0600
+++ trac/util/daemon.py 2012-05-04 08:52:16.513445549 -0500
@@ -46,7 +46,7 @@
# The pid file must be writable
try:
- fileobj = open(pidfile, 'r+')
+ fileobj = open(pidfile, 'w+')
fileobj.close()
except IOError, e:
from trac.util.text import exception_to_unicode