summaryrefslogtreecommitdiffstats
path: root/src/tools/debug/sbe-debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/debug/sbe-debug.py')
-rwxr-xr-xsrc/tools/debug/sbe-debug.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/debug/sbe-debug.py b/src/tools/debug/sbe-debug.py
index f414a1c6..eceb5015 100755
--- a/src/tools/debug/sbe-debug.py
+++ b/src/tools/debug/sbe-debug.py
@@ -47,7 +47,8 @@ def getFilePath(filename):
retPath = os.path.join(dir, filename)
if(os.path.exists(retPath)):
return os.path.abspath(retPath)
- return None
+ print "ERROR: file " + filename +" not found"
+ return 1
def getTraceFilePath():
fspTrace = getFilePath("fsp-trace")
OpenPOWER on IntegriCloud