Don't print error from find when searching for non-existant .revdep-rebuild files
authorfuzzyray <fuzzyray@gentoo.org>
Tue, 7 Aug 2007 01:32:33 +0000 (01:32 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Tue, 7 Aug 2007 01:32:33 +0000 (01:32 -0000)
svn path=/; revision=429

trunk/src/revdep-rebuild/revdep-rebuild-rewrite

index d273449e9598463445289cefd107cad38fb7fd67..63de189ca2dae3b1f19e3eaece1da005461c7636 100755 (executable)
@@ -418,7 +418,7 @@ get_search_env() {
                while read; do
                        RM_OLD_TEMPFILES=1
                        break
-               done < <(find -L "$LIST."* -maxdepth 0 -type f -mmin +1440 -print)
+               done < <(find -L "$LIST."* -maxdepth 0 -type f -mmin +1440 -print 2>/dev/null)
        fi
 
        # Compare old and new environments