···195195 .wrap_err_with(|| format!("failed to resolve symlink of {:?}", source))?;
196196197197 // Create the link, then push its target to the queue
198198- if !target.exists() {
198198+ if !target.exists() && !target.is_symlink() {
199199 unix::fs::symlink(&link_target, &target).wrap_err_with(|| {
200200 format!("failed to symlink {:?} to {:?}", link_target, target)
201201 })?;