Revert "When calling openocd from a shell like this:"

This reverts commit e8641695c6

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>
This commit is contained in:
Alex Austin
2012-07-20 12:58:14 +00:00
committed by Peter Stuge
parent 5e4ee571cc
commit 10fd274cfe
3 changed files with 7 additions and 13 deletions

View File

@@ -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;