fix for sys delete bug 109819
authorEric Edgar <rocket@gentoo.org>
Mon, 21 Nov 2005 18:09:24 +0000 (18:09 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 21 Nov 2005 18:09:24 +0000 (18:09 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@326 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index e4a85ae8981c36ece29e4477a7ee750b57c797be..0d6550bc7ec138bcd4d2de1369241a42c85ddafe 100644 (file)
@@ -729,7 +729,7 @@ then
                done
                for j in `/bin/busybox find /$i 2>/dev/null`
                do
-                       if /bin/busybox [ -d "${j}" -a "${j}" != "/bin" -a "${j}" != "/dev" ]
+                       if /bin/busybox [ -d "${j}" -a "${j}" != "/bin" -a "${j}" != "/dev" -a "${j}" != "/sys" ]
                        then
                                /bin/busybox rm -r "$j"
                        fi