mirror of
https://github.com/containers/podman.git
synced 2026-03-28 11:33:11 -04:00
When we set a relative path (i.e. ".") it should be resolved next to binary so we need to get the base dir. If we join it directly like it did before you get a path like .../podman/policy.json where podman is the podman executable so it is not a directory and thus could not contain the policy.json file. ref #21964 Signed-off-by: Paul Holzinger <pholzing@redhat.com>