From: Patrick Schleizer Date: Thu, 7 Dec 2023 18:02:42 +0000 (-0500) Subject: ignore exit code of blkid as it might fail on some file systems X-Git-Tag: v0.106~7^2~4 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=65e45e57296d552cf6a7fbd2d0a72bcf50d809d1 ignore exit code of blkid as it might fail on some file systems --- 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