summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-28 20:27:56 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-28 20:27:56 (EDT)
commit21b7083e5c04e39c94255863af6d3e5daa1b4c04 (patch)
tree513e2abf87741e154a57e0e4e1c1ea44555a20fb
parent83cffac17b6ca6990d8c0089a090b4227177314b (diff)
db_foreach_source(): Fix callback arguments.
-rw-r--r--lib/db.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/db.sh b/lib/db.sh
index 9e0533c..449e14c 100644
--- a/lib/db.sh
+++ b/lib/db.sh
@@ -136,6 +136,8 @@ db_foreach_source()
local cb="${3}"
local dir=
+ shift 3
+
dir="${opt_base_dir}/feeds/${chan}/${dist}/.db"
# For each hash:
for dir in "${dir}/"*/; do