From 5ea29007e8fe97bb22d83f938bf85ebebce7e61b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 3 Jun 2005 08:37:51 +0000 Subject: don't rmdir directories in the chroot --- tools/drakx-in-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/drakx-in-chroot') diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 2c9a17005..abae8fb24 100644 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -103,7 +103,7 @@ sub umount_all() { my $dir = "$SLASH_LOCATION$_"; rmdir $dir; if (-d $dir) { - if (m!/proc/bus/usb!) { + if (m!/proc/bus/usb! || begins_with($_, $prefix_ROOTED)) { system_verbose "$sudo umount $dir 2>/dev/null"; next; } -- cgit v1.2.1