From: Michael Tremer Date: Fri, 12 Nov 2010 20:28:22 +0000 (+0100) Subject: QA: Silently drop messages when find prints an error. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e031b951814fe6fc54cf1e5bf8451c3def723f;p=ipfire-3.x.git QA: Silently drop messages when find prints an error. --- diff --git a/tools/quality-agent.d/090-man-pages b/tools/quality-agent.d/090-man-pages index 29a0f05d2..0720d100e 100755 --- a/tools/quality-agent.d/090-man-pages +++ b/tools/quality-agent.d/090-man-pages @@ -5,7 +5,7 @@ DESC="Decompressing man-pages..." function check() { - for file in $(find ${BUILDROOT}/usr/share/man -type f); do + for file in $(find ${BUILDROOT}/usr/share/man -type f 2>/dev/null); do log DEBUG " Processing: ${file}" if [[ ${file} =~ \.gz$ ]]; then gzip -d ${file}