summaryrefslogtreecommitdiffstats
path: root/misc-scripts/ftpdir-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'misc-scripts/ftpdir-cleanup')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index c9a232d..ac17a8d 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -60,9 +60,10 @@ for arch in ${ARCHES[@]}; do
if [ ! -f "$ftppath/$reponame$DBEXT" ]; then
echo ""
- echo "ERROR: The file \"$ftppath/$reponame$DBEXT\" could not be found, aborting."
+ echo "WARNING: The file \"$ftppath/$reponame$DBEXT\" could not be found, skipping."
echo ""
- exit 1
+ repo_unlock $reponame $arch
+ continue
fi
if ! bsdtar xf "$ftppath/$reponame$DBEXT"; then