From a326e2806257b0b6ac7690a367008dda20250197 Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Sun, 12 Jun 2005 00:23:41 +0000 Subject: [PATCH] Fix 'lib64: No such...' error. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@206 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/linuxrc b/generic/linuxrc index 05d79d0..41bce6b 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -535,7 +535,7 @@ then for x in ${ROOT_LINKS} do # List all subdirectories of x - for directory in `find "/newroot/${FS_LOCATION}/${x}" -type d` + for directory in $(find "/newroot/${FS_LOCATION}/${x}" -type d 2>/dev/null) do ## Strip the prefix of the FS_LOCATION directory=${directory#/newroot/${FS_LOCATION}/} -- 2.26.2