summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"