From ce7bb3fc9a45c8d735db40a2fa2273fc3bd9c618 Mon Sep 17 00:00:00 2001 From: Tigerblue77 <37409593+tigerblue77@users.noreply.github.com> Date: Sun, 17 Nov 2024 21:57:32 +0000 Subject: [PATCH] Added SIGINT signal catch --- Dell_iDRAC_fan_controller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dell_iDRAC_fan_controller.sh b/Dell_iDRAC_fan_controller.sh index e95a264..f41ffe4 100644 --- a/Dell_iDRAC_fan_controller.sh +++ b/Dell_iDRAC_fan_controller.sh @@ -7,7 +7,7 @@ source functions.sh # Trap the signals for container exit and run graceful_exit function -trap 'graceful_exit' SIGQUIT SIGTERM +trap 'graceful_exit' SIGINT SIGQUIT SIGTERM # Prepare, format and define initial variables