diff --git a/mirror.sh b/mirror.sh index d817775..147a892 100755 --- a/mirror.sh +++ b/mirror.sh @@ -55,7 +55,7 @@ function get_amd64_image() { if docker manifest inspect "${REMOTE_IMAGE}-amd64" &> /dev/null; then echo -e "\t* Layers for amd64 architecture for this image exist." - return 2 + return fi echo -ne "\t* Getting amd64 layers... " @@ -89,7 +89,7 @@ function get_arm64_image() { if docker manifest inspect "${REMOTE_IMAGE}-arm64" &> /dev/null; then echo -e "\t* Layers for arm64 architecture for this image exist." - return 2 + return fi echo -ne "\t* Getting arm64 layers... "