From: fuzzyray Date: Tue, 7 Aug 2007 01:32:33 +0000 (-0000) Subject: Don't print error from find when searching for non-existant .revdep-rebuild files X-Git-Tag: gentoolkit-0.2.4.3~84 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19accd37678d01f20e23d59c26ed7ee92e047540;p=gentoolkit.git Don't print error from find when searching for non-existant .revdep-rebuild files svn path=/; revision=429 --- diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index d273449..63de189 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -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