Skip to content

Commit

Permalink
fix revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sclevine committed Oct 29, 2024
1 parent f4af1a9 commit 6e32ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoupdate/agent/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func tryLink(oldname, newname string) (orig string, err error) {
return orig, trace.Wrap(err)
}
if orig == oldname {
return orig, nil
return "", nil
}
err = renameio.Symlink(oldname, newname)
if err != nil {
Expand Down

0 comments on commit 6e32ad8

Please sign in to comment.