#4 acme_updater, acme_tlsa_mail: create backup of destination file instead of source file

Closed
opened 7 years ago by Hoshpak · 0 comments

The copy_file function in these two scripts currently creates a backup of the source file before overwriting the destination file. This makes no sense at all since it's the destination file that gets overwritten in the process, the source file is not altered. This should be changed to create a backup copy of the destionation file instead. Perhaps the backup creation could also be made optional.

The copy_file function in these two scripts currently creates a backup of the source file before overwriting the destination file. This makes no sense at all since it's the destination file that gets overwritten in the process, the source file is not altered. This should be changed to create a backup copy of the destionation file instead. Perhaps the backup creation could also be made optional.
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.