summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/losetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh
index 4ca1d5f..b2a4f06 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})"