From 19accd37678d01f20e23d59c26ed7ee92e047540 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Tue, 7 Aug 2007 01:32:33 +0000 Subject: [PATCH] Don't print error from find when searching for non-existant .revdep-rebuild files svn path=/; revision=429 --- trunk/src/revdep-rebuild/revdep-rebuild-rewrite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2