]> git.giacomolli.uk - onechat/commitdiff
Exit with status 0 when a signal stops the daemon
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 02:53:53 +0000 (23:53 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 02:53:53 +0000 (23:53 -0300)
A signal is the normal stop of the daemon and of the terminal client, so
both exit with status 0 and print no error after Ctrl-C or SIGTERM. The
other commands still report a canceled context, because a signal there
stops an operation before it is done.

Issue: 5daf23e


No differences found