fix format specifier
This commit is contained in:
parent
b46b26f1ae
commit
73c161a295
@ -377,7 +377,7 @@ func (b *Blockstore) symlink(path, linkTo string) error {
|
|||||||
|
|
||||||
resolvedLinkDir, err := filepath.EvalSymlinks(filepath.Dir(linkTo))
|
resolvedLinkDir, err := filepath.EvalSymlinks(filepath.Dir(linkTo))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("error resolving links in %s: %W", linkTo, err)
|
return fmt.Errorf("error resolving links in %s: %w", linkTo, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if resolvedPathDir == resolvedLinkDir {
|
if resolvedPathDir == resolvedLinkDir {
|
||||||
|
Loading…
Reference in New Issue
Block a user