From 81bf9c6255ff26be894148a704692daaf8c667e7 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 22 Jul 2008 08:58:44 +0000 Subject: very slightly improved error message for not being able to find scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@854 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/startup.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " - print full path to file according to OpenOCD search rules" -- cgit v1.2.3