Subject: Re: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be

From: Mattias Engdegård <[email-masked]>
Date: Wed, 12 Oct 2022 19:39:11 +0200

12 okt. 2022 kl. 17.54 skrev Lars Ingebrigtsen <[email-masked]>:

> And anyway -- we do exit like we're supposed to, just not with the
> correct value.  So I'm not sure this is an explanation for this
> behaviour?

What the correct value is a matter of debate. For instance, it could be argued that SIGINT to a GUI-only Emacs is to be interpreted as a 'please terminate normally' message, in which the exit code 0 may be appropriate.

I have no strong opinion on what it should be (and am not defending status quo); it doesn't seem very important but the original reporter may disagree.