diff options
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 2 |
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 |