mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01: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.