Merge pull request #1193 from tp-tc/dangling-symlink

Ignore the target of dangling symlinks.
This commit is contained in:
Tejal Desai
2020-05-03 20:47:12 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ func ResolvePaths(paths []string, wl []util.WhitelistEntry) (pathsToAdd []string
}
logrus.Debugf("symlink path %s, target does not exist", f)
continue
}
// If the given path is a symlink and the target is part of the whitelist