From 00428e1f7db51f8acc5d74fc76eef4e84c5c7cca Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 11 Jun 2020 21:22:10 +0200 Subject: [PATCH] Solved mount bug --- scripts/image/setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 9cd9bcd..d3446ba 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -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