Permalink
Browse files

Don't chdir when running as a daemon

Fixes #1546
  • Loading branch information...
1 parent 762c98a commit 9bcf3fb21df646fa59c8e5208f79d494c6779990 @webknjaz webknjaz committed Jan 9, 2017
Showing with 0 additions and 1 deletion.
  1. +0 −1 cherrypy/process/plugins.py
@@ -409,7 +409,6 @@ def start(self):
sys.exit('%s: fork #2 failed: (%d) %s\n'
% (sys.argv[0], exc.errno, exc.strerror))
- os.chdir('/')
os.umask(0)
si = open(self.stdin, 'r')

0 comments on commit 9bcf3fb

Please sign in to comment.