Skip to content

Commit

Permalink
Add dry run info when downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Dec 13, 2023
1 parent 48f9499 commit 49af0bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ pub fn sync(args: SyncArgs, bind_address: Option<String>) -> ! {
std::fs::rename(&tmp_path, &expected_path).unwrap();
};
runtime.block_on(future);
} else if should_download {
info!("Dry run, not downloading {}", task.url);
}

// APT/YUM extension check
Expand Down

0 comments on commit 49af0bf

Please sign in to comment.