mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
unmount rootfs cleanly when looing for version
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
fa986e1506
commit
3b9d7caf05
@ -93,7 +93,7 @@ menu_run () {
|
||||
else
|
||||
version_rootfs=$(grep rootfs ${rootfs_mount}/etc/sw-versions | cut -f 2)
|
||||
fi
|
||||
umount ${mount_rootfs}
|
||||
umount ${rootfs_mount}
|
||||
version_recovery=$(grep Recovery /etc/sw-versions | cut -f 2)
|
||||
notif "${message}^^ Recovery: ${version_recovery}^ rootfs : ${version_rootfs}"
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user