summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/startup.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index a7697758..e60ad976 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -136,7 +136,7 @@ proc find {filename} {
return $t
}
# make sure error message matches original input string
- return [ocd_find $filename]
+ return -code error "Can't find $filename"
}
add_help_text find "<file> - print full path to file according to OpenOCD search rules"