Make ctfd reap zombies

This commit is contained in:
Neale Pickett 2009-10-07 13:29:00 -06:00
parent a6a4657a2e
commit ef78f6da9b
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import asyncore
import os
import sys
import optparse
import signal
from ctf import pointsd
from ctf import flagd
from ctf import histogram
@ -38,6 +39,7 @@ def main():
pointsrv = pointsd.start()
flagsrv = flagd.start()
signal.signal(signal.SIGCHLD, sigchld)
s = pointsrv.store
slen = 0
while True:

View File

@ -8,6 +8,7 @@ if f.getfirst('submit'):
print()
print('Thanks for filling in the survey.')
print()
print(dir(f))
print('The key is:')
print(' quux blorb frotz')
else: