Skip to content

Commit 721e96c

Browse files
authored
[rmkit] handle SIGTERM not SIGKILL (#213)
1 parent 79c737b commit 721e96c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rmkit/init.cpy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ static void _rmkit_exit(int signum):
1919
case SIGINT:
2020
cerr << "received SIGINT, exiting" << endl;
2121
break
22-
case SIGKILL:
23-
cerr << "received SIGKILL, exiting" << endl;
22+
case SIGTERM:
23+
cerr << "received SIGTERM, exiting" << endl;
2424
break
2525
case SIGSEGV:
2626
cerr << "received SIGABRT, exiting" << endl;

0 commit comments

Comments
 (0)