spiegel_podman/cmd
Paul Holzinger 3d7aba0565 completion: fix panic in simplePathJoinUnix()
When we do path completion in images a user could try to complete a
simple relative path, e.g. podman run $IMAGE e... should complete to etc
if this path exists in the image. Right now we panic in this case as the
current check didn't account for an empty string in simplePathJoinUnix().
In such a case return the path directly because we can not alter what
the user typed on the cli and must return a path without slash as well
in order for the shell to suggest the completion.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2209809

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-05-30 16:12:40 +00:00
..
podman completion: fix panic in simplePathJoinUnix() 2023-05-30 16:12:40 +00:00
podman-mac-helper podman-mac-helper: install: do not error if already installed 2023-03-24 15:34:30 +01:00
podman-wslkerninst Add new windows installer and build 2022-09-06 16:12:09 -05:00
quadlet add quadlet -version flag 2023-04-04 11:32:47 +02:00
rootlessport Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00