From: Øyvind Harboe Date: Mon, 31 Jan 2011 11:09:46 +0000 (+0100) Subject: error: remove debug output when reporting errors X-Git-Tag: v0.5.0-rc1~200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=859ccccd8076910f7b022d712beeaffaf2f2fa9e;p=openocd error: remove debug output when reporting errors The user does not need to know or care about "command handlers". Signed-off-by: Øyvind Harboe --- diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index 4c71a9a0..2e2982cc 100644 --- a/src/helper/startup.tcl +++ b/src/helper/startup.tcl @@ -22,7 +22,8 @@ proc ocd_bouncer {name args} { if {[catch {eval $cmd $args}] == 0} { return "" } else { - set errmsg "Command handler execution failed" + # 'classic' commands output error message as part of progress output + set errmsg "" } } else {if {$type == "group"} { catch {eval ocd_usage $name $args}