aboutsummaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorAlex Austin <alex.austin@spectrumdsi.com>2012-07-20 12:58:14 +0000
committerPeter Stuge <peter@stuge.se>2012-07-22 19:18:22 +0000
commit10fd274cfe5447fec8a4b8d3757787d086952deb (patch)
tree54479b0fe1df94dca29051470ec460c08043d853 /src/openocd.c
parent5e4ee571cc10c58eb20497b3b869322cc0ce6c56 (diff)
Revert "When calling openocd from a shell like this:"
This reverts commit e8641695c634109ebf5f1149923971770da1d28a Original premise was wrong. Proper command is "shutdown", not "exit". Change-Id: I07f5fe0dda9c24abe53628da986bfda0e406bb4a Signed-off-by: Alex Austin <alex.austin@spectrumdsi.com> Reviewed-on: http://openocd.zylin.com/757 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openocd.c b/src/openocd.c
index d06e2c56..048ce852 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -279,8 +279,6 @@ static int openocd_thread(int argc, char *argv[], struct command_context *cmd_ct
return EXIT_FAILURE;
ret = parse_config_file(cmd_ctx);
- if (ret == ERROR_OK_EXIT)
- return ERROR_OK;
if (ret != ERROR_OK)
return EXIT_FAILURE;