summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 20:13:07 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 20:13:07 +0200
commit9c06372cf6caa2ba25e9ab1f32cbb02b2d280b13 (patch)
tree1b6347c4512a60f8a422752257228f3bb9bba5ac
parentfdca04b3f5d8e27af4829416fee3843b0fe01e36 (diff)
Fix typo
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index e3f3504..9abb694 100644
--- a/db-functions
+++ b/db-functions
@@ -52,7 +52,7 @@ cleanup() {
arch=${l#*.}
if [ -d "$TMPDIR/.repolock.$repo.$arch" ]; then
echo "Removing left over lock from $repo/$arch" >&2
- repo_unlock $repo $_arch
+ repo_unlock $repo $arch
fi
done
if [ -d "$TMPDIR/.scriptlock.$(basename $0)" ]; then