We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-SIGTERM
1 parent 256029b commit 5f2a241Copy full SHA for 5f2a241
1 file changed
src/client.c
@@ -249,7 +249,7 @@ void term_handler(int n) {
249
// signal handler is not safe. To properly clean up a process, we'd
250
// need R to handle SIGTERM and clean up at check-interrupt
251
// time. We do run `atexit()` handlers though.
252
- exit(EXIT_FAILURE);
+ exit(-SIGTERM);
253
}
254
255
void install_term_handler(void) {
0 commit comments