increase sleep RK1 flashing
[bmcd] / src / persistency / app_persistency.rs
index 9412132433426636c5d8d2eaaeb251360ea4184d..0678fc7589205bf8104b6b2d57bbdf4b847dd238 100644 (file)
@@ -143,7 +143,7 @@ impl ApplicationPersistency {
         let serialized_file = OpenOptions::new()
             .read(true)
             .write(true)
-            .create(true)
+            .truncate(true)
             .open(&path)
             .await;
         let inner = match serialized_file {