Bug with makefile that can erase host MBR (6)
This commit is contained in:
parent
343290407e
commit
960a3c97c8
|
@ -46,7 +46,7 @@ mountpoint=$(udisksctl info -b $lpblock | grep MountPoint | cut -d ':' -f 2 | se
|
||||||
|
|
||||||
if [ -z $mountpoint ];
|
if [ -z $mountpoint ];
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
if [ -z $mountpoint ];
|
if [ -z $mountpoint ];
|
||||||
|
|
Loading…
Reference in New Issue