Introduction
Introduction Statistics Contact Development Disclaimer Help
use 128 + the signal mask as the exit status code - catpoint - Catpoint simple …
git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrin…
Log
Files
Refs
Tags
README
LICENSE
---
commit 4c69bd0f199e1b018ff9a8bae42bc2ddaaa0d863
parent c21defed8f5b1cdcf8f1360ab81eb28725815489
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 29 May 2021 17:56:03 +0200
use 128 + the signal mask as the exit status code
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M catpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/catpoint.c b/catpoint.c
@@ -41,7 +41,7 @@ void
quit(int sig)
{
cleanup();
- exit(0);
+ _exit(128 + sig);
}
void
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.