]> git.sur5r.net Git - openocd/commit
When calling openocd from a shell like this:
authorStian Skjelsad <stian@nixia.no>
Sat, 18 Feb 2012 15:10:19 +0000 (16:10 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 11 Jul 2012 08:16:04 +0000 (08:16 +0000)
commite8641695c634109ebf5f1149923971770da1d28a
treef731072858a0ff2225dc95d3efd7d46e8b408eed
parent9ce207a52affec0270678808ce760450905c3f7d
When calling openocd from a shell like this:

openocd -f board/sheevaplug.cfg -c init -c exit

the calling shell will believe that openocd exited with an error due to exitval will be non-zero

This is not tested against incomming telnet

Change-Id: I63d15715a7b46f39a7de261a45039f8c3cad7a98
Signed-off-by: Stian Skjelstad <stian@nixia.no>
Reviewed-on: http://openocd.zylin.com/470
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Bill Traynor <wmat@alphatroop.com>
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/helper/command.c
src/helper/log.h
src/openocd.c