summaryrefslogtreecommitdiff
path: root/helpers/lh_losetup
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_losetup')
-rwxr-xr-xhelpers/lh_losetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_losetup b/helpers/lh_losetup
index 2ea7f9e..f3b6720 100755
--- a/helpers/lh_losetup
+++ b/helpers/lh_losetup
@@ -38,7 +38,7 @@ FILE="${2}"
PARTITION="${3:=1}"
${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
-FDISK_OUT="$(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})"