Inconsistent exit code for 'podman rm' failures #2539
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
When 'podman rm' is passed multiple containers and it's unable to remove one of them due to some reason, the exit code seems inconsistent across:
--all
Describe the results you received:
Containers mentioned individually, and one of them doesn't exist:
Using
--all
, and one of the containers is still running:Describe the results you expected:
I was expecting both cases to either return 0 or a non-zero value.
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: