summaryrefslogtreecommitdiff
path: root/source4/script/gdb_backtrace
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/gdb_backtrace')
-rwxr-xr-xsource4/script/gdb_backtrace2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/gdb_backtrace b/source4/script/gdb_backtrace
index b19a5b2f4b..826381e900 100755
--- a/source4/script/gdb_backtrace
+++ b/source4/script/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
}