podman exit(0) on pull failure #2785
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
I have a script that tries to run
podman pull docker://some/ting:new
and if it fails, runs a podman build then push for the image. The podman pull does fail, but always exits 0 (signaling success).Steps to reproduce the issue:
$ podman pull docker://quay.io/foo/bar:baz
$ echo "Exit: $?"
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Same result running as root (through sudo) or as a user
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: