mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix install progress jump
This commit is contained in:
committed by
Aiden McClelland
parent
317e8a4c8f
commit
309b446a5c
@@ -67,6 +67,7 @@ impl<R: AsyncRead + AsyncSeek + Unpin> S9pkReader<InstallProgressTracker<R>> {
|
|||||||
}
|
}
|
||||||
impl<R: AsyncRead + AsyncSeek + Unpin> S9pkReader<R> {
|
impl<R: AsyncRead + AsyncSeek + Unpin> S9pkReader<R> {
|
||||||
pub async fn validate(&mut self) -> Result<(), Error> {
|
pub async fn validate(&mut self) -> Result<(), Error> {
|
||||||
|
self.rdr.seek(SeekFrom::Start(0)).await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
pub async fn from_reader(mut rdr: R) -> Result<Self, Error> {
|
pub async fn from_reader(mut rdr: R) -> Result<Self, Error> {
|
||||||
|
|||||||
Reference in New Issue
Block a user