summaryrefslogtreecommitdiffstats
path: root/rescue/Flash/scripts/reset_rootpass
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-05 19:29:17 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-05 19:29:17 +0000
commitdcbf8c1457b519c8af80a50c9538e4203958fc82 (patch)
tree46bcc2b242c6b25f821c09a2bb3125b9402062e8 /rescue/Flash/scripts/reset_rootpass
parent94cf7f68d2f74fdd20979cb75dd428cd9847193b (diff)
downloaddrakx-dcbf8c1457b519c8af80a50c9538e4203958fc82.tar
drakx-dcbf8c1457b519c8af80a50c9538e4203958fc82.tar.gz
drakx-dcbf8c1457b519c8af80a50c9538e4203958fc82.tar.bz2
drakx-dcbf8c1457b519c8af80a50c9538e4203958fc82.tar.xz
drakx-dcbf8c1457b519c8af80a50c9538e4203958fc82.zip
use lumount when umounting loopbacks
Diffstat (limited to 'rescue/Flash/scripts/reset_rootpass')
-rwxr-xr-xrescue/Flash/scripts/reset_rootpass4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/Flash/scripts/reset_rootpass b/rescue/Flash/scripts/reset_rootpass
index c0a505f21..63b4e8b3a 100755
--- a/rescue/Flash/scripts/reset_rootpass
+++ b/rescue/Flash/scripts/reset_rootpass
@@ -62,8 +62,8 @@ function cleanup() {
chroot $tmpdir/union /usr/bin/unicode_stop
umount $tmpdir/union > /dev/null 2>&1
- umount $tmpdir/user > /dev/null 2>&1
- umount $tmpdir/squash > /dev/null 2>&1
+ lumount $tmpdir/user > /dev/null 2>&1
+ lumount $tmpdir/squash > /dev/null 2>&1
umount $rootdir > /dev/null 2>&1
rmdir $tmpdir/union $tmpdir/user $tmpdir/squash 2> /dev/null