summaryrefslogtreecommitdiff
path: root/functions/losetup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-xfunctions/losetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh
index 56d504f..51f5426 100755
--- a/functions/losetup.sh
+++ b/functions/losetup.sh
@@ -11,7 +11,7 @@ Losetup ()
{
DEVICE="${1}"
FILE="${2}"
- PARTITION="${3:=1}"
+ PARTITION="${3:-1}"
${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
FDISK_OUT="$(${LH_FDISK} -l -u ${DEVICE} 2>&1)"