Revision: 4516 Author: btongminh Date: 2007-11-08 13:14:24 +0000 (Thu, 08 Nov 2007)
Log Message: ----------- Fix log opening
Modified Paths: -------------- trunk/pywikipedia/daemonize.py
Modified: trunk/pywikipedia/daemonize.py =================================================================== --- trunk/pywikipedia/daemonize.py 2007-11-08 12:56:01 UTC (rev 4515) +++ trunk/pywikipedia/daemonize.py 2007-11-08 13:14:24 UTC (rev 4516) @@ -33,7 +33,7 @@ os.close(2) os.open('/dev/null', os.O_RDWR) if redirect_std: - os.open(redirect_std, os.O_RDONLY | os.O_APPEND) + os.open(redirect_std, os.O_WRONLY | os.O_APPEND) else: os.dup2(0, 1) os.dup2(1, 2)