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
2015-10-07 15:43:22 -07:00
2013-03-08 01:18:08 +00:00
2015-03-28 21:12:27 +00:00
2008-10-21 07:00:00 -07:00
2015-06-04 00:21:16 +00:00
2013-11-21 06:03:22 +00:00
2015-10-07 15:43:22 -07:00
2011-09-19 14:52:57 -07:00
2015-10-07 15:43:22 -07:00
2014-01-30 15:17:09 -08:00
Description
No description provided
Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%