From b48b6b62b70fda2cc0318668eeda457c0f8d2123 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 18 Aug 2010 16:38:21 +0200 Subject: fix typo --- cron-jobs/ftpdir-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-jobs/ftpdir-cleanup') diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 0a43bd1..5c8776e 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -81,7 +81,7 @@ for repo in ${repos[@]}; do fi if [ -n "$(find "${FTP_BASE}/${repo}/os/any" -type d -empty)" ]; then msg "Removing empty legacy directory ${repo}/os/any" - ${CLEANUP_DRYRUN} && rmdir "${FTP_BASE}/${repo}/os/any" + ${CLEANUP_DRYRUN} || rmdir "${FTP_BASE}/${repo}/os/any" continue fi find "${FTP_BASE}/${repo}/os/any" -name "*${PKGEXT}" -printf '%f\n' | sort > "${WORKDIR}/any-${repo}" -- cgit v1.2.3-24-g4f1b