mirror of
https://github.com/containers/podman.git
synced 2025-12-12 09:50:25 +08:00
Checking if the file exists before opening it anyway is really pointless and needs a extra syscall and in theory is racy as the file might have been changed between the two calls. We can simply ignore the ENOENT error on the ReadFile call. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
15 KiB
15 KiB