chiark / gitweb /
core: clean-up signal reset logic when reexec
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Jun 2014 14:58:21 +0000 (16:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 Jun 2014 17:32:05 +0000 (19:32 +0200)
commit9bfcda9528636914aef3e0ab91191bb81654c83d
treee2d0e9bd92c67953e7ff222b5fe977522fb57b15
parent2f3b873a49734f8ecc8d929612d33153acbda891
core: clean-up signal reset logic when reexec

There's no need to save the old sigmask, if we are going to die. Let's
simplify this. Also, reset all the signal handlers, so that we don't
leave SIG_IGN set for some of them across reexec.
src/core/main.c