mirror of
https://github.com/containers/podman.git
synced 2025-12-08 14:48:48 +08:00
Vendor in buildah 1.9.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/buildah/imagebuildah/chroot_symlink_linux.go
generated
vendored
2
vendor/github.com/containers/buildah/imagebuildah/chroot_symlink_linux.go
generated
vendored
@@ -209,7 +209,7 @@ func getSymbolicLink(path string) (string, error) {
|
||||
}
|
||||
// if isSymlink is true, check if resolvedPath is potentially another symlink
|
||||
// keep doing this till resolvedPath is not a symlink and isSymlink is false
|
||||
for isSymlink == true {
|
||||
for isSymlink {
|
||||
// Need to keep track of number of symlinks resolved
|
||||
// Will also return an error if the symlink points to itself as that will exceed maxSymlinksResolved
|
||||
if symLinksResolved >= maxSymlinksResolved {
|
||||
|
||||
Reference in New Issue
Block a user