From 59432cb818b04c99caff098cec7ff1d0bcbe8026 Mon Sep 17 00:00:00 2001 From: Dusan Malusev Date: Mon, 21 Oct 2024 17:02:28 +0200 Subject: [PATCH] Update tools/stress/src/org/apache/cassandra/stress/Stress.java Co-authored-by: Dmitry Kropachev --- tools/stress/src/org/apache/cassandra/stress/Stress.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/stress/src/org/apache/cassandra/stress/Stress.java b/tools/stress/src/org/apache/cassandra/stress/Stress.java index 8050cc98c4..87f7ebc1a3 100644 --- a/tools/stress/src/org/apache/cassandra/stress/Stress.java +++ b/tools/stress/src/org/apache/cassandra/stress/Stress.java @@ -231,5 +231,7 @@ private static void registerSignalHandler() { Signal.handle(new Signal("ABRT"), handler); Signal.handle(new Signal("TERM"), handler); Signal.handle(new Signal("INT"), handler); + Signal.handle(new Signal("TERM"), handler); + Signal.handle(new Signal("INT"), handler); } }