diff --git a/functions/losetup.sh b/functions/losetup.sh index 4ca1d5fe1..b2a4f0610 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -16,7 +16,7 @@ Losetup () PARTITION="${3:=1}" ${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}" - FDISK_OUT="$(LH_FDISK -l -u ${DEVICE} 2>&1)" + FDISK_OUT="$(${LH_FDISK} -l -u ${DEVICE} 2>&1)" ${LH_ROOT_COMMAND} ${LH_LOSETUP} -d "${DEVICE}" LOOPDEVICE="$(echo ${DEVICE}p${PARTITION})"