aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorturret <turret@duck.com>2024-01-14 20:54:28 -0600
committerturret <turret@duck.com>2024-01-14 20:54:28 -0600
commitd4ba645474580e1da5a1297ceab40d5544bf53f0 (patch)
tree2c1116437c215d2cfa926ddea6a09874478f7b2c /net
parentbb357be604b64d489b6015f4c7466be51a748929 (diff)
downloaddiscord-bot-skeleton-d4ba645474580e1da5a1297ceab40d5544bf53f0.tar.gz
discord-bot-skeleton-d4ba645474580e1da5a1297ceab40d5544bf53f0.tar.bz2
discord-bot-skeleton-d4ba645474580e1da5a1297ceab40d5544bf53f0.zip
init: register signal blockers earlier
prevents potential race condition where a subsystem can terminate before we fully block SIGCHLD, causing SIGCHLD to be sent to init and having our entire process terminated ungracefully. prevents bash and family from sending "Terminated" due to our process receiving SIGTERM during a panic, since we already exit in there and it'd be queued up if we do receive one
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions