]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Silently drop messages when find prints an error.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Nov 2010 20:28:22 +0000 (21:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Nov 2010 20:28:22 +0000 (21:28 +0100)
tools/quality-agent.d/090-man-pages

index 29a0f05d2534196dea1ff22228678cf463c048f1..0720d100e183c26aa0e1bffa6eed6f44b0dd964d 100755 (executable)
@@ -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}