diff options
Diffstat (limited to 'hst')
| -rw-r--r-- | hst/fslink.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hst/fslink.go b/hst/fslink.go index 77351258..c07749bb 100644 --- a/hst/fslink.go +++ b/hst/fslink.go @@ -2,7 +2,7 @@ package hst import ( "encoding/gob" - "path" + "path/filepath" "hakurei.app/check" ) @@ -28,7 +28,7 @@ func (l *FSLink) Valid() bool { if l == nil || l.Target == nil || l.Linkname == "" { return false } - return !l.Dereference || path.IsAbs(l.Linkname) + return !l.Dereference || filepath.IsAbs(l.Linkname) } func (l *FSLink) Path() *check.Absolute { |
