use 128 + the signal mask as the exit status code - catpoint - Catpoint simple presenting software. HTML git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 4c69bd0f199e1b018ff9a8bae42bc2ddaaa0d863 DIR parent c21defed8f5b1cdcf8f1360ab81eb28725815489 HTML 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: M catpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/catpoint.c b/catpoint.c @@ -41,7 +41,7 @@ void quit(int sig) { cleanup(); - exit(0); + _exit(128 + sig); } void