ignore exit code of blkid as it might fail on some file systems
authorPatrick Schleizer <adrelanos@whonix.org>
Thu, 7 Dec 2023 18:02:42 +0000 (13:02 -0500)
committerPatrick Schleizer <adrelanos@whonix.org>
Thu, 7 Dec 2023 18:52:48 +0000 (13:52 -0500)
chroot-script

index 7726ecd..1602f6d 100755 (executable)
@@ -479,7 +479,7 @@ EOF
     local rootfs_mount_options=""
 
     if [ -z "${FILESYSTEM}" ] ; then
-      FILESYSTEM="$(blkid -o value -s TYPE /dev/disk/by-uuid/"${TARGET_UUID}")"
+      FILESYSTEM="$(blkid -o value -s TYPE /dev/disk/by-uuid/"${TARGET_UUID}")" || true
     fi
 
     case "${FILESYSTEM}" in