aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotup/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotup/mod.rs b/src/dotup/mod.rs
index d62047d..d620295 100644
--- a/src/dotup/mod.rs
+++ b/src/dotup/mod.rs
@@ -182,11 +182,11 @@ pub fn install(dotup: &Dotup, params: &InstallParams, group: &str) -> Result<()>
182 182
183 // Early return if the symlink already points to the correct source 183 // Early return if the symlink already points to the correct source
184 if metadata.is_symlink() && fs_symlink_points_to(&target, &source)? { 184 if metadata.is_symlink() && fs_symlink_points_to(&target, &source)? {
185 return Ok(()); 185 continue;
186 } 186 }
187 187
188 if !prompt_overwrite(params, &target)? { 188 if !prompt_overwrite(params, &target)? {
189 return Ok(()); 189 continue;
190 } 190 }
191 191
192 fs_remove(&target)?; 192 fs_remove(&target)?;