From 56c923643580289bf085b95c00ab3afe4cdfee47 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 5 May 2012 17:58:59 -0400 Subject: createlinks: trap only EXIT Trapping anything more is redundant, because EXIT is always fired. --- createlinks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createlinks') diff --git a/createlinks b/createlinks index cf8fa3d..5eb6fe4 100755 --- a/createlinks +++ b/createlinks @@ -11,7 +11,7 @@ extractinc=(--include={opt,{,usr/}{lib{,32},{s,}bin}}'/*') [ -f "${lock}" ] && exit 1 touch "${lock}" -trap "rm -rf '${lock}' '${tmp}'" EXIT INT TERM +trap "rm -rf '${lock}' '${tmp}'" EXIT renice +10 -p $$ > /dev/null -- cgit v1.2.3-24-g4f1b