utils.py: fix code reference

fix #2632
This commit is contained in:
Benoit Chesneau 2023-05-07 19:46:02 +02:00 committed by GitHub
parent e7781d2c2c
commit f19e31fec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ def is_hoppish(header):
def daemonize(enable_stdio_inheritance=False):
"""\
Standard daemonization of a process.
http://www.svbug.com/documentation/comp.unix.programmer-FAQ/faq_2.html#SEC16
http://www.faqs.org/faqs/unix-faq/programmer/faq/ section 1.7
"""
if 'GUNICORN_FD' not in os.environ:
if os.fork():