commit | 1c3a4f469f78103482b94e3f7a8d0c19becf2bfc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Aug 03 15:35:48 2018 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Aug 03 15:35:48 2018 -0700 |
tree | 2d6829279e11534bf856385214a88103216204c6 | |
parent | d14f0f9924cd38a6fc3fe4644abfb5e22aa685c5 [diff] |
Improve error handling. Bail out as soon as something goes wrong. Previously if we failed early, we'd obliterate the existing version anyway. Don't remove the temporary directory on failure. Otherwise there's no way to debug a failure. Bug: N/A Test: updated external/curl Change-Id: I3bf055a8ec514c7b76683baee8e1540deb5a3e5d