Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### Problem 82cf1b1 (PR project-chip#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.
- Loading branch information