Solved mount bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-06-11 21:22:10 +02:00
parent 8b03f8bda6
commit 00428e1f7d

View File

@ -298,13 +298,13 @@ if [ "$transfer_image" = "y" ]
fi
info "Start regular mounting procedure..."
if mount | grep -q "$boot_mount_path"
if mount | grep -q "$boot_partition_path"
then
info "$boot_mount_path is allready mounted..."
info "$boot_partition_path is allready mounted..."
else
if mount | grep -q "$root_mount_path"
if mount | grep -q "$root_partition_path"
then
info "$root_mount_path is allready mounted..."
info "$root_partition_path is allready mounted..."
else
mount_partitions
fi