mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 11:01:18 +00:00
This commit makes skopeo return a different exit code when an input is not found. The use case is `osbuild` which uses skopeo to inspect images and it would be nice to differenciate between an image that is not found and general skopeo errors (or errors like network issues etc). I picked exit code `2` for `not found` because it is also the value of `ENOENT`. Man page and a test are added. Signed-off-by: Michael Vogt <mvogt@redhat.com> |
||
---|---|---|
.. | ||
testdata | ||
001-basic.bats | ||
010-inspect.bats | ||
020-copy.bats | ||
030-local-registry-tls.bats | ||
040-local-registry-auth.bats | ||
050-signing.bats | ||
060-delete.bats | ||
070-list-tags.bats | ||
080-sync.bats | ||
helpers.bash | ||
make-noarch-manifest | ||
run-tests |