forked from proxmox-mirrors/proxmox-backup
The remote source reader's encrypted client-log path writes the
decrypted output to to_path through decrypt_encrypted_data_blob()
(which uses its own atomic replace_file), but never removes the
encrypted bytes left at <snapshot>/client.log.blob.tmp. The
non-encrypted path consumes the same tmp_path via std::fs::rename().
Bail out (matching the surrounding error handling style) if the
cleanup fails, so the leftover doesn't go unnoticed.
Fixes:
|
||
|---|---|---|
| .. | ||
| api2 | ||
| backup | ||
| bin | ||
| config | ||
| server | ||
| tape | ||
| tools | ||
| auth_helpers.rs | ||
| auth.rs | ||
| client_helpers.rs | ||
| lib.rs | ||
| traffic_control_cache.rs | ||