Revert "nghttpx: Call setsid after executing new binary"
This reverts commit 6680d8b792
.
This commit is contained in:
parent
cca7e398fd
commit
04145e22a2
|
@ -257,12 +257,6 @@ void exec_binary(SignalServer *ssv) {
|
||||||
shrpx_signal_unset_master_proc_ign_handler();
|
shrpx_signal_unset_master_proc_ign_handler();
|
||||||
|
|
||||||
rv = shrpx_signal_unblock_all();
|
rv = shrpx_signal_unblock_all();
|
||||||
|
|
||||||
if (setsid() == -1) {
|
|
||||||
auto error = errno;
|
|
||||||
LOG(ERROR) << "setsid() failed: " << strerror(error);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
auto error = errno;
|
auto error = errno;
|
||||||
LOG(ERROR) << "Unblocking all signals failed: " << strerror(error);
|
LOG(ERROR) << "Unblocking all signals failed: " << strerror(error);
|
||||||
|
|
Loading…
Reference in New Issue