keywords: fix xattrs for broken symlinks
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
3aa50a7a50
commit
c805a855bd
2 changed files with 82 additions and 0 deletions
|
@ -59,6 +59,9 @@ var (
|
|||
}
|
||||
return strings.Join(klist, " "), nil
|
||||
}
|
||||
if !info.Mode().IsRegular() && !info.Mode().IsDir() {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
xlist, err := xattr.List(path)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue