mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-18 07:45:13 +00:00
This fixes the issue where "childFD" from syscall.Openat is assigned to a local variable inside the for loop, instead of the correct one in the function scope. This results in that when trying to close the "childFD" in the function scope, it will be equal to "-1", instead of the correct value.