We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c3fb4 commit c0571c8Copy full SHA for c0571c8
1 file changed
update-agent/src/update/capsule.rs
@@ -86,6 +86,7 @@ where
86
.create_file(CAPSULE_INSTALL_NAME)
87
.map_err(|e| Error::CreateFile(e, CAPSULE_INSTALL_NAME.into()))?;
88
io::copy(&mut src, &mut capsule).map_err(Error::CopyCapsule)?;
89
+ capsule.sync_all().map_err(Error::CopyCapsule)?;
90
Ok(())
91
}
92
0 commit comments