diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-03 08:37:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-03 08:37:51 +0000 |
commit | 5ea29007e8fe97bb22d83f938bf85ebebce7e61b (patch) | |
tree | 4e0a06f6cdbf8177006a1bf5522f485dcbbe8a27 /tools | |
parent | 654695f2102e7059dacf954e1b08baf8740c6935 (diff) | |
download | drakx-backup-do-not-use-5ea29007e8fe97bb22d83f938bf85ebebce7e61b.tar drakx-backup-do-not-use-5ea29007e8fe97bb22d83f938bf85ebebce7e61b.tar.gz drakx-backup-do-not-use-5ea29007e8fe97bb22d83f938bf85ebebce7e61b.tar.bz2 drakx-backup-do-not-use-5ea29007e8fe97bb22d83f938bf85ebebce7e61b.tar.xz drakx-backup-do-not-use-5ea29007e8fe97bb22d83f938bf85ebebce7e61b.zip |
don't rmdir directories in the chroot
Diffstat (limited to 'tools')
-rw-r--r-- | tools/drakx-in-chroot | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |