From 72cea61c7bde22374840cd8a8257fd4f408cca20 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 7 Jan 2012 01:53:27 +0100 Subject: [PATCH] find-requires: Throw away error messages from objdump. --- tools/find-requires | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/find-requires b/tools/find-requires index 8bb6fb984..fb5721ac3 100755 --- a/tools/find-requires +++ b/tools/find-requires @@ -108,7 +108,7 @@ for file in ${binary_files}; do [ -r ${file} ] || continue lib64=$(if file_is_64bit ${file}; then echo "${mark64}"; fi) - objdump -p ${file} | awk 'BEGIN { START=0; LIBNAME=""; } + objdump -p ${file} 2>/dev/null | awk 'BEGIN { START=0; LIBNAME=""; } /^$/ { START=0; } /^Dynamic Section:$/ { START=1; } (START==1) && /NEEDED/ { -- 2.39.5