diff --git a/functions.sh b/functions.sh index 94b5dcd..1b663f7 100644 --- a/functions.sh +++ b/functions.sh @@ -314,7 +314,7 @@ oci_push_to_registry () { for i in $(seq 1 3); do podman push ${1} && s=0 && break || s=$? && sleep 1; done; (exit $s) && podman image rm ${1} && podman pull ${1} - then + else echo "Error : image ${1} does not exists" exit 1 fi