summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-07-08 18:04:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:45 +0100
commit07d089fa5561499e150b79e7a0701d5a9c3a897f (patch)
treeeb1b8dc5d0d36f23c38ed1bff11f24388551a4c5
parent95fb795e25946d34cac88844e703bc9ddcf02297 (diff)
downloadlive-build-07d089fa5561499e150b79e7a0701d5a9c3a897f.zip
live-build-07d089fa5561499e150b79e7a0701d5a9c3a897f.tar.gz
Correcting typo in default values assignment of losetup functions.
-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)"