chore(linux): fix GHA packaging

This commit is contained in:
Eberhard Beilharz 2024-01-11 16:16:41 +01:00
parent 64fb78de7c
commit 30c9aff4ca
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -219,15 +219,15 @@ jobs:
echo "dput exited with ${retval}"
if ! grep -q "ssh: Could not resolve hostname package-drop.psonet: Name or service not known" ${tmpfile}; then
rm ${tmpfile}
if ((retval != 0)); then
if [[ ${retval} != 0 ]]; then
exit ${retval}
else
return
return 0
fi
fi
if ((++i <= max_retries)); then
sleep 10
echo "Retry ${i}/${max_retries}:"
echo "${COLOR_BLUE}Retry ${i}/${max_retries}:"
fi
done
rm ${tmpfile}