Do not whine about complete failure when it is not.
continuous-integration/drone/push Build is passing Details

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
1 changed files with 4 additions and 1 deletions

View File

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