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 56d504fbe..51f542659 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)"