tuse 128 + the signal mask as the exit status code - catpoint - Catpoint simple presenting software.
(HTM) git clone git://r-36.net/catpoint
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 4c69bd0f199e1b018ff9a8bae42bc2ddaaa0d863
(DIR) parent c21defed8f5b1cdcf8f1360ab81eb28725815489
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 29 May 2021 17:56:03 +0200
use 128 + the signal mask as the exit status code
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
catpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/catpoint.c b/catpoint.c
t@@ -41,7 +41,7 @@ void
quit(int sig)
{
cleanup();
- exit(0);
+ _exit(128 + sig);
}
void