mirror of
https://github.com/rclone/rclone.git
synced 2025-06-02 00:05:57 +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.