Solved mounting bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-06-11 14:52:39 +02:00
parent a8d099144e
commit 09bde4fadf

View File

@ -266,10 +266,11 @@ if [ "$transfer_image" = "y" ]
fi
info "Start regular mounting procedure..."
if ! mount | grep -q "$boot_mount_path"
if mount | grep -q "$boot_mount_path"
then
info "$boot_mount_path is allready mounted..."
if ! mount | grep -q "$root_mount_path"
else
if mount | grep -q "$root_mount_path"
then
info "$root_mount_path is allready mounted..."
else