diff options
-rwxr-xr-x | rescue/make_rescue_img | 4 | ||||
-rwxr-xr-x | tools/make_mdkinst_stage2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 9c7352338..076273f34 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -122,7 +122,7 @@ if (arch() =~ /ppc/) { } mkdir_p($mnt); -__ "$sudo umount $rescue 2>/dev/null"; +__ "$sudo umount $mnt 2>/dev/null"; _ "dd if=/dev/zero of=$rescue bs=1k count=$size"; _ "$mke2fs $rescue"; @@ -133,7 +133,7 @@ _ "$sudo chown -R root.root $tmp"; _ "$sudo cp -a $tmp/* $mnt"; _ "$sudo rm -rf $tmp"; -_ "$sudo umount $rescue"; +_ "$sudo umount $mnt"; _ "rmdir $mnt"; _ "bzip2 -f -9 $rescue"; diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2 index babb3d567..be25bb089 100755 --- a/tools/make_mdkinst_stage2 +++ b/tools/make_mdkinst_stage2 @@ -77,7 +77,7 @@ $SUDO rm -rf $STAGE2TMP df $MNTPOINT df -i $MNTPOINT -$SUDO umount $STAGE2 +$SUDO umount $MNTPOINT rmdir $MNTPOINT echo bzipping $STAGE2 |