Ticket #6175: 6175_second_patch.diff
File 6175_second_patch.diff, 477 bytes (added by , 17 years ago) |
---|
-
django/utils/daemonize.py
18 18 # Second fork 19 19 try: 20 20 if os.fork() > 0: 21 sys.exit(0)21 os._exit(0) 22 22 except OSError, e: 23 23 sys.stderr.write("fork #2 failed: (%d) %s\n" % (e.errno, e.strerror)) 24 24 sys.exit(1)