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

Хаасан
нээсэн 7 жил өмнө by Hoshpak · 0 саналууд
Helmut Pozimski санал үлдээсэн 7 жил өмнө

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.
Энэ хэлэлцүүлгэнд нэгдэхийн тулт та нэвтэрнэ үү.
Үе шат заахгүй
Хариуцагч байхгүй
1 Оролцогчид
Ачааллаж байна ...
Цуцлах
Хадгалах
Харуулах агуулга байхгүй байна.