diff --git a/test/system/libs/helpers.bash b/test/system/libs/helpers.bash index f4132d0..f323079 100644 --- a/test/system/libs/helpers.bash +++ b/test/system/libs/helpers.bash @@ -334,8 +334,7 @@ function pull_distro_image() { fi # No need to copy if the image is already available in Podman - run "$PODMAN" image exists "${image}" - if [[ "$status" -eq 0 ]]; then + if "$PODMAN" image exists "${image}"; then return fi