From db9ba592ca4b6d3fe2ae7e1c9a9057aacb25fe22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Wed, 16 Feb 2022 17:24:41 +0000 Subject: [PATCH] make.sh: SIGKILL and SIGSTOP cannot be trapped MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is no sense in instructing "trap" to catch signals it cannot trap whatsoever. Signed-off-by: Peter Müller Reviewed-by: Michael Tremer --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index dec918dd68..a6f44030cb 100755 --- a/make.sh +++ b/make.sh @@ -437,7 +437,7 @@ prepareenv() { fi # Trap on emergency exit - trap "exiterror 'Build process interrupted'" SIGINT SIGTERM SIGKILL SIGSTOP SIGQUIT + trap "exiterror 'Build process interrupted'" SIGINT SIGTERM SIGQUIT # Checking if running as root user if [ $(id -u) -ne 0 ]; then -- 2.39.5