aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 675c171..3b8b133 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2989,6 +2989,7 @@ int main(int argc, char **argv) {
setlocale(LC_ALL, "C"); // Sigh... stupid C
signal(SIGINT, stop_handler);
+ signal(SIGTERM, stop_handler);
signal(SIGUSR1, save_replay_handler);
signal(SIGUSR2, toggle_pause_handler);
signal(SIGRTMIN, toggle_replay_recording_handler);