summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-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