summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1ccc654..2496ced 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -64,7 +64,7 @@ if [ -n "$to_cleanup" ]; then
echo " $(basename "$f")"
done
echo ""
- mv "$f" "$CLEANUP_DESTDIR"
+ mv $to_cleanup "$CLEANUP_DESTDIR"
fi
cleanup