From dcbf8c1457b519c8af80a50c9538e4203958fc82 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 5 Jun 2008 19:29:17 +0000 Subject: use lumount when umounting loopbacks --- rescue/Flash/scripts/reset_userpass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rescue/Flash/scripts/reset_userpass') diff --git a/rescue/Flash/scripts/reset_userpass b/rescue/Flash/scripts/reset_userpass index d34b629bf..320457cdc 100755 --- a/rescue/Flash/scripts/reset_userpass +++ b/rescue/Flash/scripts/reset_userpass @@ -73,8 +73,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 -- cgit v1.2.1