summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:20:54 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:20:54 -0400
commit12faf7365342bcfebb951dd748d48b5db8a1acba (patch)
treede38d1902f964a07543e84df8a26cd20da6f7dee /db-functions
parentb3c27405fb9e2686d3db9ee23ca616dc6b93b1f3 (diff)
oops
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 accc508..e45f673 100644
--- a/db-functions
+++ b/db-functions
@@ -171,7 +171,7 @@ repo_lock () {
return 1
fi
if [ -f "${FILESLOCKFILE}" ]; then
- error "Repo [%s] (%s) is already locked by repo-{add,remove} process %s" "$2" "$2" "$(<"$FILESLOCKFILE")"
+ error "Repo [%s] (%s) is already locked by repo-{add,remove} process %s" "$1" "$2" "$(<"$FILESLOCKFILE")"
return 1
fi