Hu Xiuyun e9becc079c Sync: Fix error exit code when both -n and -f are used
When repo sync is used with -f (--force-error) and a project fails to
sync, the sync will continue but then exit with an error status.

However if -n (--network-only) is also used, the exit code is 0, even
when a project failed.

Modify the logic to make sure the sync exits with the correct status.

Bug: Issue 214
Change-Id: I0b5d97a34642c5aa3743750ef14a42c9d5743c1d
2015-11-26 02:25:43 +00:00
..
2013-04-18 21:35:49 +05:30
2014-10-17 15:45:57 -04:00
2015-10-07 15:43:22 -07:00
2012-11-14 12:09:38 +09:00
2013-04-18 21:35:49 +05:30
2012-09-18 09:54:57 +02:00
2015-04-04 21:21:49 +01:00