Fix restore of child handler in restoreChildHandler()
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 4 May 2017 07:31:53 +0000 (09:31 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 4 May 2017 07:31:53 +0000 (09:31 +0200)
commita3c5225a5e2cbeee488b9c878f39bb9d26236761
treee85f65bfa7659042b26f18172aca8fb891391f91
parentc89d77ed9abbe92e8c80a8d2901bdb3889ca62f2
Fix restore of child handler in restoreChildHandler()

SIG_DFL is 0 and therefore the code in restoreChildHandler()
was never executed. Fix it by introducing an extra variable that keeps
the state if the child handler was installed or not.
asyncio/async_process.cpp