Move return out of loop

Move the return statement out of the loop that processes positional
arguments.  Having the return inside the loop meant that the script
would only process one patch even if you gave it more than one patch.

This probably happened because the loop is so long that it's not
possible to keep the whole thing in one screen so no one noticed that
the return was indented too far in.  Isn't semantic whitespace such a
wonderful thing?

I'm not sure how people didn't run into this before but I guess no one
really tries to apply multiple patches at a time.

TEST=applied multiple patches with one call to

Change-Id: I137593f588d4f306abaf509f5d1665cf7d6a1d57
Commit-Ready: Chirantan Ekbote <>
Tested-by: Chirantan Ekbote <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Douglas Anderson <>
Reviewed-by: Alexandru M Stan <>
1 file changed