Skip to content

Commit

Permalink
Do not chown on existing symlink
Browse files Browse the repository at this point in the history
Fixes #153
  • Loading branch information
SuperCuber committed Feb 17, 2024
1 parent b1301f6 commit bf96889
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,6 @@ pub fn update_symlink(
match comparison {
SymlinkComparison::Identical => {
debug!("Performing update");
fs.set_owner(&target.target, &target.owner)
.context("set target symlink owner")?;
Ok(true)
}
SymlinkComparison::OnlyTargetExists | SymlinkComparison::BothMissing => {
Expand Down

0 comments on commit bf96889

Please sign in to comment.