]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/tape/inventory.rs
use new fsync parameter to replace_file and atomic_open_or_create
[proxmox-backup.git] / src / tape / inventory.rs
index 593985ed5d15aa75a9c254b935d113f0aae25755..86588617be84046d89c84aee11f4cd968d7f9850 100644 (file)
@@ -183,7 +183,7 @@ impl Inventory {
                 .group(backup_user.gid)
         };
 
-        replace_file(&self.inventory_path, raw.as_bytes(), options)?;
+        replace_file(&self.inventory_path, raw.as_bytes(), options, true)?;
 
         Ok(())
     }