Fix stale symlink detection

This commit is contained in:
2026-02-19 16:48:51 +00:00
parent 2169958c61
commit 9ef3ba000c

View File

@@ -484,7 +484,8 @@ func findStaleLinks(filesDir, targetRoot string) ([]string, error) {
if entry.IsDir() {
return nil
}
info, err := entry.Info()
info, err := os.Lstat(path)
if err != nil {
return err
}