summaryrefslogtreecommitdiff
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 00:10:08 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 00:10:08 -0400
commit878a9afd8fe40fa4263c5af04491ff91c8f0c09a (patch)
tree5c8fd61691a9a1560be001cd0ace0112cb432a5a /cron-jobs/ftpdir-cleanup
parent5b6036ac62755ebc7414e0583abeeab33bb75644 (diff)
Use printf-formatters when possible (incomplete)
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-xcron-jobs/ftpdir-cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
index 77d90d2..af56aac 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -44,7 +44,7 @@ for repo in "${PKGREPOS[@]}"; do
missing_pkgs=($(comm -13 "${WORKDIR}/repo-${repo}-${arch}" "${WORKDIR}/db-${repo}-${arch}"))
if [ ${#missing_pkgs[@]} -ge 1 ]; then
- error "Missing packages in [${repo}] (${arch})..."
+ error "Missing packages in [%s] (%s)..." "${repo}" "${arch}"
for missing_pkg in "${missing_pkgs[@]}"; do
msg2 "${missing_pkg}"
done