Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't clobber chip-tool error (#9504)
* Don't clobber chip-tool error #### Problem 82cf1b1 (PR #9086) could clobber a returned error code with a different value `GetCommandExitStatus()`, which could lead to `chip-tool` exiting successfully when it shouldn't. (This doesn't actually happen at present because nothing sets `err` after `RunCommand()`, but could be triggered by otherwise innocuous code changes.) #### Change overview Check for an existing error in preference to `GetCommandExitStatus()`. #### Testing Manual run of `chip-tool` with edits. * stop task before getting status
- Loading branch information