fix _ROOTDEV

This commit is contained in:
Tobias Powalowski 2024-05-23 15:55:16 +02:00
parent 77616cfe75
commit 800deb3728

View file

@ -392,7 +392,7 @@ _mountpoints() {
_COUNT=0
_run_mkfs | _dialog --title " Mountpoints " --no-mouse --gauge "Mountpoints..." 6 75 0
_printk on
_ROOTDEV="$(mount | grep "${_DESTDIR} " | cut -d ' ' -f 1)"
_ROOTDEV="$(mount | grep "${_DESTDIR} " | cut -d ' ' -f 1 | sed -e 's#:.*##g')"
_NEXTITEM="5"
}