mirror of https://github.com/dirtbags/moth.git
Make ctfd reap zombies
This commit is contained in:
parent
a6a4657a2e
commit
ef78f6da9b
2
ctfd.py
2
ctfd.py
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue