diff options
| -rw-r--r-- | mullvad-daemon/src/migrations/account_history.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mullvad-daemon/src/migrations/account_history.rs b/mullvad-daemon/src/migrations/account_history.rs index e2c0f37c3f..f754f1ac68 100644 --- a/mullvad-daemon/src/migrations/account_history.rs +++ b/mullvad-daemon/src/migrations/account_history.rs @@ -67,7 +67,6 @@ pub async fn migrate_formats(settings_dir: &Path, settings: &mut serde_json::Val file.write_all(token.as_bytes()) .await .map_err(Error::WriteHistoryError)?; - file.flush().await.map_err(Error::WriteHistoryError)?; file.sync_all().await.map_err(Error::WriteHistoryError)?; Ok(()) |
