diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-18 09:50:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:13 -0500 |
commit | e9b27a34e35500b9da94ccdf7872d6956bd93566 (patch) | |
tree | 046d5aa62f5af484258c6b69f0e313993fc2214e /source3 | |
parent | 1e845a983ade07bfb9a49292af58da4cc1ba90c2 (diff) | |
download | samba-e9b27a34e35500b9da94ccdf7872d6956bd93566.tar.gz samba-e9b27a34e35500b9da94ccdf7872d6956bd93566.tar.bz2 samba-e9b27a34e35500b9da94ccdf7872d6956bd93566.zip |
r22998: merge from SAMBA_4_0:
only if the output of which has a leading '/' the output is useful...
metze
(This used to be commit 5c5aa1f862ad5e765b18c8dbc981af3012b48cb7)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/tests/gdb_backtrace | 2 |
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 } |