From 5c5aa1f862ad5e765b18c8dbc981af3012b48cb7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 18 May 2007 09:50:56 +0000 Subject: [PATCH] r22998: merge from SAMBA_4_0: only if the output of which has a leading '/' the output is useful... metze --- source/script/tests/gdb_backtrace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/script/tests/gdb_backtrace b/source/script/tests/gdb_backtrace index b19a5b2f4b79..826381e9008a 100755 --- a/source/script/tests/gdb_backtrace +++ b/source/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 } -- 2.34.1