From 960a3c97c8c60b99c1a0ba275b2a8eec23185439 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 5 Feb 2020 23:05:41 +0100 Subject: [PATCH] Bug with makefile that can erase host MBR (6) --- build/install-os-k.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/install-os-k.sh b/build/install-os-k.sh index e4e440e..92cf6ad 100755 --- a/build/install-os-k.sh +++ b/build/install-os-k.sh @@ -46,7 +46,7 @@ mountpoint=$(udisksctl info -b $lpblock | grep MountPoint | cut -d ':' -f 2 | se if [ -z $mountpoint ]; then - mountpoint=$(udisksctl mount -b $lpblock | cut -d ' ' -f 2 | sed 's/\.//g') + mountpoint=$(udisksctl mount -b $lpblock | cut -d ' ' -f 4 | sed 's/\.//g') fi if [ -z $mountpoint ];