Commit 20561eff authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Fixed call to os.waitpid(): pass '0' as second argument.

parent c6aaaa8b
......@@ -38,7 +38,7 @@ def shutdown():
logger.info('Stopping consumers')
[ os.kill(cpid, signal.SIGHUP) for cpid in children ]
[ os.waitpid(cpid) for cpid in children]
[ os.waitpid(cpid, 0) for cpid in children]
logger.info('Shut down')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment