From 09bde4fadf7fcdc316ae81e8f1d8e1f9f4ddcb07 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 11 Jun 2020 14:52:39 +0200 Subject: [PATCH] Solved mounting bug --- scripts/image/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 7ee3492..af793ad 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -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