HomePhabricator

Merge #10057: [init] Deduplicated sigaction() boilerplate

Description

Merge #10057: [init] Deduplicated sigaction() boilerplate

Summary:
81a3857 Deduplicated sigaction() boilerplate (Thomas Snider)

Tree-SHA512: 705b73f285a3d76504ba01476e072fdce67731b65f309bb04e4bbd765556c37e127cb769b475de2d68b33f50d7737fb136aefa0fa7c725a11ad16a47b9d0365f

Backport Core PR 10057
https://github.com/bitcoin/bitcoin/pull/10057/files

Test Plan:

make check
bitcoind --testnet
ps aux | grep bitcoind
kill -s TERM <bitcoind-pid>
# bitcoind should be killed

bitcoind --testnet
rm ~/.bitcoin/testnet3/debug.log
ps aux | grep bitcoind
kill -s HUP <bitcoind-pid>
# debug.log should be recreated

Reviewers: deadalnix, Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D2961

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 27 2017, 08:36
jasonbcoxCommitted on May 7 2019, 15:18
jasonbcoxPushed on May 7 2019, 15:18
Reviewer
Restricted Project
Differential Revision
D2961: Merge #10057: [init] Deduplicated sigaction() boilerplate
Parents
rABCee7267de6060: Init: Remove redundant exit(EXIT_FAILURE) instances and replace with return…
Branches
Unknown
Tags
Unknown