omniti-labs/reconnoiter — pull request #50 by TheTeaWeevil (2012-02-28 21:46:50+00:00)
Title: Fix to signal handling for external modules

Uncovered a bug where the main loop that handles signals in the external modules would only allow one interruption due to setting up the signal handler before the loop rather than in it; once the loop was signalled once, it would no longer accept interruptions. Moved the signal handling into the loop so that it will always accept the SIGCHLD interruption.