~jaap.karssenberg/zim/pyzim-0.43-backports

« back to all changes in this revision

Viewing changes to zim/daemon.py

  • Committer: Jaap Karssenberg
  • Date: 2010-01-13 22:34:54 UTC
  • Revision ID: pardus@cpan.org-20100113223454-0u1cefs3erbh57gg
* Fix that removes duplicate entries with '_' in index
* Fix for umask

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                # Decouple from parent environment
93
93
                os.chdir("/")
94
94
                os.setsid()
95
 
                os.umask(0)
 
95
                # Do not set umask here - we want to keep that part of env
96
96
 
97
97
                # Second fork
98
98
                pid = os.fork()