From 65e45e57296d552cf6a7fbd2d0a72bcf50d809d1 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 7 Dec 2023 13:02:42 -0500 Subject: [PATCH] ignore exit code of blkid as it might fail on some file systems --- chroot-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroot-script b/chroot-script index 7726ecd..1602f6d 100755 --- a/chroot-script +++ b/chroot-script @@ -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 -- 2.1.4