]> git.sur5r.net Git - openocd/commitdiff
error: remove debug output when reporting errors
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 31 Jan 2011 11:09:46 +0000 (12:09 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 31 Jan 2011 11:09:46 +0000 (12:09 +0100)
The user does not need to know or care about "command handlers".

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/startup.tcl

index 4c71a9a0f66f729e21eb2e34268c53df51a6a8d4..2e2982cca6903c21bfa30b429878c96492db5272 100644 (file)
@@ -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}