Fix wait! for scripts/trigger-build

What does this MR do?

Fix wait! for scripts/trigger-build. If we just break it'll only break from the loop, and immediately raise an exception. We need to return to avoid reaching the raise clause.

Closes #239336 (closed)

Edited by Lin Jen-Shin

Merge request reports

Loading