diff --git a/obs-packaging/wait-obs.sh b/obs-packaging/wait-obs.sh index 914e32b62b..5267b33d4d 100755 --- a/obs-packaging/wait-obs.sh +++ b/obs-packaging/wait-obs.sh @@ -50,6 +50,10 @@ wait_finish_building() { echo "Project ${project} has blocked packages, waiting" continue fi + if echo "${out}" | grep 'code="unresolvable"'; then + echo "Project ${project} has unresolvable packages" + exit 1 + fi if echo "${out}" | grep 'state="building"'; then echo "Project ${project} is still building, waiting" continue