diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-05 23:58:59 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-06 00:19:15 +0200 |
commit | 56c923643580289bf085b95c00ab3afe4cdfee47 (patch) | |
tree | 8fe4485582d2f42d58441fc4a09666c051e046ab /createlinks | |
parent | 0a3fd7d5f00913e08f452ca9dae0926f7124bb4d (diff) | |
download | repo-tools-56c923643580289bf085b95c00ab3afe4cdfee47.tar.gz repo-tools-56c923643580289bf085b95c00ab3afe4cdfee47.tar.xz |
createlinks: trap only EXIT
Trapping anything more is redundant, because EXIT is always fired.
Diffstat (limited to 'createlinks')
-rwxr-xr-x | createlinks | 2 |
1 files changed, 1 insertions, 1 deletions
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 |