Skip to content

Commit 334392e

Browse files
authored
Merge pull request #2559 from laggardkernel/bugfix/reexec-env
Typo fix for reexec related environ variables
2 parents e75c353 + 7d50d61 commit 334392e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn/arbiter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def setup(self, app):
9292
self.log = self.cfg.logger_class(app.cfg)
9393

9494
# reopen files
95-
if 'GUNICORN_FD' in os.environ:
95+
if 'GUNICORN_PID' in os.environ:
9696
self.log.reopen_files()
9797

9898
self.worker_class = self.cfg.worker_class

0 commit comments

Comments
 (0)