Commit dcedf1f0 authored by Andrew Klassen's avatar Andrew Klassen

Merge branch 'mount_fix' into 'master'

fix MOUNT variable, prevents duplicate mounts if the user mounts a second time

See merge request !254
parents c537f664 c7958aeb
......@@ -1425,7 +1425,11 @@ mount_partitions() {
ROOT_PART=${PARTITION}
echo ${ROOT_PART} > /tmp/.root_partitioni
echo ${ROOT_PART} > /tmp/.root_partition
# Format with FS (or skip) -> # Make the directory and mount. Also identify LUKS and/or LVM
# Reset the mountpoint variable, in case this is the second time through this menu and old state is still around
MOUNT=""
# Format with FS (or skip) -> # Make the directory and mount. Also identify LUKS and/or LVM
select_filesystem && mount_current_partition || return 0
ini mount.root "${PARTITION}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment