Do not whine about complete failure when it is not.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stanislav Nikitin 2023-01-01 22:54:07 +05:00
parent 7242d4004b
commit 68d972c812
No known key found for this signature in database
GPG Key ID: 9A63857413C83B4A

View File

@ -113,7 +113,10 @@ function mirror() {
if ! get_image "${image}" "amd64"; then if ! get_image "${image}" "amd64"; then
exitcode=$? exitcode=$?
# Shit happened.
if [ ${exitcode} -eq 1 ]; then
echo "! Image mirroring failed! Cannot obtain amd64 image!" echo "! Image mirroring failed! Cannot obtain amd64 image!"
fi
return ${exitcode} return ${exitcode}
fi fi