From: Peter Müller Date: Wed, 16 Feb 2022 17:24:41 +0000 (+0000) Subject: make.sh: SIGKILL and SIGSTOP cannot be trapped X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db9ba592ca4b6d3fe2ae7e1c9a9057aacb25fe22;p=people%2Fstevee%2Fipfire-2.x.git make.sh: SIGKILL and SIGSTOP cannot be trapped There is no sense in instructing "trap" to catch signals it cannot trap whatsoever. Signed-off-by: Peter Müller Reviewed-by: Michael Tremer --- 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