mirror of
https://github.com/rclone/rclone.git
synced 2025-03-28 12:42:08 +02:00
Before this change partially uploaded files (when --inplace is not in effect) would be left lying around in the file system if rclone was killed in the middle of a transfer. This adds an exit handler to remove the file and removes it when the file is complete.