test/system: Specify explit return values

This removes any ambiguities and makes it clear what value is being
returned.

https://github.com/containers/toolbox/pull/1378
This commit is contained in:
Debarshi Ray 2023-09-25 15:56:49 +02:00
parent 0d43d22b5b
commit 574dbc920c

View file

@ -335,7 +335,7 @@ function pull_distro_image() {
# No need to copy if the image is already available in Podman
if "$PODMAN" image exists "${image}"; then
return
return 0
fi
# https://github.com/containers/skopeo/issues/547 for the options for containers-storage
@ -344,6 +344,8 @@ function pull_distro_image() {
echo "Failed to load image ${image} from cache ${IMAGE_CACHE_DIR}/${image_archive}"
assert_success
fi
return 0
}