From: Leandro Lucarella Date: Sun, 18 Nov 2007 18:16:26 +0000 (-0300) Subject: Bugfix: set the catched signal to None *after* calling the signal handler. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/8f0e9553bac4b3bbb14099c93639f6428fa402f9?ds=inline;hp=-c Bugfix: set the catched signal to None *after* calling the signal handler. --- 8f0e9553bac4b3bbb14099c93639f6428fa402f9 diff --git a/pymin/procman.py b/pymin/procman.py index 5cea4d4..4478cb7 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -208,7 +208,7 @@ if __name__ == '__main__': while manager.pidmap: signal.pause() if sig == signal.SIGCHLD: - sig = None sigchild_handler(sig) + sig = None print "Esperando...", [pi.name for pi in manager.namemap.values()]