diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-18 09:47:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:38 -0500 |
commit | d3f30cab1e97d2d05d4e99645076ae8508fc177d (patch) | |
tree | 6ce79197ac9273eafb8d9fc48503cf49cff7103e /source4/script/gdb_backtrace | |
parent | 23026646e162415bb028e2526cb837a9d4d027b9 (diff) | |
download | samba-d3f30cab1e97d2d05d4e99645076ae8508fc177d.tar.gz samba-d3f30cab1e97d2d05d4e99645076ae8508fc177d.tar.bz2 samba-d3f30cab1e97d2d05d4e99645076ae8508fc177d.zip |
r22997: only if the output of which has a leading '/' the output is useful...
metze
(This used to be commit 34968bef6dc673374c6d017df87a99a60905d3b7)
Diffstat (limited to 'source4/script/gdb_backtrace')
-rwxr-xr-x | source4/script/gdb_backtrace | 2 |
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 } |