From fa24b6b9173f168fe1e9b98f5c9bf5403b4d9b9f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 28 Jun 2024 22:44:35 +0200 Subject: [PATCH] replace find with fd --- usr/lib/archboot/installer/blockdevices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/blockdevices.sh b/usr/lib/archboot/installer/blockdevices.sh index eeba433e7..a48215134 100644 --- a/usr/lib/archboot/installer/blockdevices.sh +++ b/usr/lib/archboot/installer/blockdevices.sh @@ -95,7 +95,7 @@ _raid_devices() { ! ${_LSBLK} FSTYPE "${dev}" 2>"${_NO_LOG}" | rg -q 'crypto_LUKS' &&\ ! ${_LSBLK} FSTYPE "${dev}" -s 2>"${_NO_LOG}" | rg -q 'isw_raid_member' &&\ ! ${_LSBLK} FSTYPE "${dev}" -s 2>"${_NO_LOG}" | rg -q 'ddf_raid_member' &&\ - ! find "$dev"*p* -type f -exec echo {} \; 2>"${_NO_LOG}"; then + ! fd "${dev}p.*" /dev 2>"${_NO_LOG}"; then ${_LSBLK} NAME,SIZE -d "${dev}" fi done