From ba7968503f18e5a2537d7d87ce2a5caa582f04f7 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 23 Feb 2010 03:56:29 +0100 Subject: Hide 'file not found' message --- misc-scripts/ftpdir-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup index ccd867e..a185090 100755 --- a/misc-scripts/ftpdir-cleanup +++ b/misc-scripts/ftpdir-cleanup @@ -77,7 +77,7 @@ for arch in ${ARCHES[@]}; do pkgname="$(getpkgname $pkg)" for p in ${TMPDIR}/${pkgname}-*; do [ ! -d "${p}" ] || continue 2 - dbpkgname=$(grep -A1 '^%FILENAME%$' "${p}/desc" | tail -n1) + dbpkgname=$(grep -A1 '^%FILENAME%$' "${p}/desc" 2>/dev/null| tail -n1) if [ "${dbpkgname}" = "${pkgname}" ]; then continue 2 fi -- cgit v1.2.3-54-g00ecf