[Zope-dev] Bug in ZServer's zinit.py and patch
Anthony Joseph Seward
seward@hplyot.obspm.fr
Fri, 7 May 1999 16:12:38 -0600 (MDT)
Hello,
I think I've found a bug in the zinit.py file. Here is a patch to fix it.
Tony
diff -ru orig.Zope-1.11.0pr1-src/ZServer/zinit.py Zope-1.11.0pr1-src/ZServer/zinit.py
--- orig.Zope-1.11.0pr1-src/ZServer/zinit.py Fri Apr 30 15:20:50 1999
+++ Zope-1.11.0pr1-src/ZServer/zinit.py Fri May 7 15:58:48 1999
@@ -165,7 +165,7 @@
def forkit(attempts = FORK_ATTEMPTS):
while attempts:
# if at first you don't succeed...
- attempts = attempts + 1
+ attempts = attempts - 1
try:
pid = os.fork()
except os.error: