diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-03-31 20:41:11 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-03-31 20:41:11 +0200 |
| commit | e52fb13ee2f31b50bd5c07b4a95828f49cfe26af (patch) | |
| tree | 8b76eee8487081480c34f8addd42270bfa383223 /src | |
| parent | 1c463eb40559cc28dbcc582616834caaa735b649 (diff) | |
| download | tmus-e52fb13ee2f31b50bd5c07b4a95828f49cfe26af.tar.gz tmus-e52fb13ee2f31b50bd5c07b4a95828f49cfe26af.zip | |
Call cleanup on SIGKILL and SIGTERM
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,8 @@ init(void) on_exit(cleanup, NULL); signal(SIGINT, exit); + signal(SIGTERM, exit); + signal(SIGKILL, exit); } void |
