mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
do not start progress at 0 before diff complete (#1999)
* do not start progress at 0 before diff complete * fix: Test rsync * don't report progress of 0 * drop initialization value from progress stream Co-authored-by: BluJ <mogulslayer@gmail.com>
This commit is contained in:
@@ -707,8 +707,9 @@ mod fns {
|
||||
);
|
||||
}
|
||||
|
||||
let running_rsync =
|
||||
Rsync::new(src, dst, options).map_err(|e| anyhow::anyhow!("{:?}", e.source))?;
|
||||
let running_rsync = Rsync::new(src, dst, options)
|
||||
.await
|
||||
.map_err(|e| anyhow::anyhow!("{:?}", e.source))?;
|
||||
let insert_id = {
|
||||
let mut rsyncs = rsyncs.lock().await;
|
||||
let next = rsyncs.0 + 1;
|
||||
|
||||
Reference in New Issue
Block a user