diff --git a/src/rustup-dist/src/dist.rs b/src/rustup-dist/src/dist.rs
index e60be4d3dc8..9cb4923f65d 100644
--- a/src/rustup-dist/src/dist.rs
+++ b/src/rustup-dist/src/dist.rs
@@ -497,6 +497,32 @@ pub fn update_from_dist<'a>(download: DownloadCfg<'a>,
remove: &[Component])
-> Result