Show bpf-tools download progress

This commit is contained in:
Michael Vines 2021-03-25 10:15:42 -07:00
parent a15790c9aa
commit 07273bfa9e
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ fn install_if_missing(
url.push_str(version);
url.push('/');
url.push_str(file.to_str().unwrap());
download_file(&url.as_str(), &file, false)?;
download_file(&url.as_str(), &file, true)?;
fs::create_dir_all(&target_path).map_err(|err| err.to_string())?;
let zip = File::open(&file).map_err(|err| err.to_string())?;
let tar = BzDecoder::new(BufReader::new(zip));