commit | 3407fb2590756bd571020e175e607c8b8c988ede | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Wed Mar 17 14:40:51 2021 +0000 |
committer | Orion Hodson <oth@google.com> | Fri Mar 19 13:01:52 2021 +0000 |
tree | dd3059ff51b2a568cd41cc36ff52ada05b359647 | |
parent | c4b9ae96c20f1c86695c1774ed77cd0acac1c543 [diff] |
odrefresh: failure handling improvements Add ExitCode::kCleanupFailed to report issues when removing files and directories. Add WARN_UNUSED to important methods to ensure their return values are checked. Remove LOG(FATAL) use in target code paths. Remove TEMP_FAILURE_RETRY for calls that are not interruptable according to their man page documentation (fchmod, unlink). Bug: 160683548 Test: manual Change-Id: I9681c83d048f4dd7988e9ff7ec1caf25ed02fbec