mirror of
https://github.com/containers/podman.git
synced 2025-12-05 04:40:47 +08:00
prevent opening the same file twice, since we re-exec podman in rootless mode. While at it, also solve a possible race between the check for the file and writing to it. Another process could have created the file in the meanwhile and we would just end up overwriting it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
4.6 KiB
4.6 KiB