Check gclient sync returncode in gclient_sync_retry
This change adds logic to check the return code from running "gclient
sync" in "gclient_sync_retry". If the "gclient sync" call failed for
reasons other than failing to connect, then still treat it as failure
and pass this information up to our caller (previously, |main| would
implicitly return |None|, which converts to 0, implying that there
was no error, ever if there was).
b/68705114
Change-Id: I6fd35ddc840aa856d7becc8556e2f04cefcbdeb2
1 file changed