Pass the correct signal to handlers
authorGuido Trotter <ultrotter@google.com>
Tue, 18 Aug 2009 15:53:31 +0000 (17:53 +0200)
committerGuido Trotter <ultrotter@google.com>
Thu, 20 Aug 2009 10:42:52 +0000 (12:42 +0200)
commita9fe7232a7b8786aaf42994d5c0485cb3a167e96
treec011d6ce8d08a7f68758dbe0e79426034bed79c5
parent73b90123cd6247c60417555283c3fef86cb8cf8a
Pass the correct signal to handlers

Mainloop currently calls all handlers with the signal number harcoded to
sigchild. Fixing this.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
lib/daemon.py