summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f91c9ac..dbb76ae 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,6 +27,8 @@ init(void)
on_exit(cleanup, NULL);
signal(SIGINT, exit);
+ signal(SIGTERM, exit);
+ signal(SIGKILL, exit);
}
void