Skip to content

Commit

Permalink
ignore exit code of blkid as it might fail on some file systems
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Dec 7, 2023
1 parent 016c466 commit 65e45e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65e45e5

Please sign in to comment.