summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/tests/gdb_backtrace2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/gdb_backtrace b/source3/script/tests/gdb_backtrace
index b19a5b2f4b..826381e900 100755
--- a/source3/script/tests/gdb_backtrace
+++ b/source3/script/tests/gdb_backtrace
@@ -33,7 +33,7 @@ case "${UNAME}" in
esac
for DB in ${DB_LIST}; do
- DB_BIN=`which ${DB} 2>/dev/null`
+ DB_BIN=`which ${DB} 2>/dev/null | grep '^/'`
test x"${DB_BIN}" != x"" && {
break
}