summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-06 23:59:33 +0200
committerDave Reisner <dreisner@archlinux.org>2012-05-06 23:59:33 +0200
commite06f6e91dace0acb2cf5dcd0e337253b821d6913 (patch)
tree99c9104baa00625f4947c282c6c84c7205aa6791
parent8ea4ce10558afa2f83efd755e81e11058df83d51 (diff)
downloadrepo-tools-e06f6e91dace0acb2cf5dcd0e337253b821d6913.tar.gz
repo-tools-e06f6e91dace0acb2cf5dcd0e337253b821d6913.tar.xz
createlinks: remove lockfile on exit
-rwxr-xr-xcreatelinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/createlinks b/createlinks
index f254e5b..1aa8afa 100755
--- a/createlinks
+++ b/createlinks
@@ -76,7 +76,7 @@ generate_links() {
done
}
-trap "rm -rf '${tmp}'" EXIT
+trap "rm -rf '${tmp}' '${lock}'" EXIT
renice +10 -p $$ > /dev/null
{