summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 00:13:55 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 00:13:55 -0400
commit5e84c1596d3ae2a66bd859f1fac2490025946fbb (patch)
treee2d02d1df281ca72a13db65ff37921b5e4bf6128 /db-functions
parent878a9afd8fe40fa4263c5af04491ff91c8f0c09a (diff)
use += when possible
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 a2f638e..006dde9 100644
--- a/db-functions
+++ b/db-functions
@@ -139,7 +139,7 @@ repo_lock () {
warning "Repo [%s] (%s) is already locked by %s. " "${1}" "${2}" "$_owner"
msg2 "Retrying in %d seconds..." "$LOCK_DELAY"
else
- LOCKS[${#LOCKS[*]}]="$1.$2"
+ LOCKS+=("$1.$2")
set_umask
return 0
fi