Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: shutdown command should lead to exit without evaluating the rest
Currently openocd -c "echo a1; shutdown; echo a2" outputs both "a1" and "a2" and only then shuts down. This patch fixes it by making shutdown command throw an exception, so unless it's caught the shutdown will behave as expected. Change-Id: I764268b3a9046ff3e9717d04095ea0673f1d755a Signed-off-by: Paul Fertser <[email protected]> Reviewed-on: http://openocd.zylin.com/2511 Tested-by: jenkins Reviewed-by: Uwe Bonnes <[email protected]> Reviewed-by: Spencer Oliver <[email protected]>
- Loading branch information