Subject: Correcting typo in default values assignment of losetup functions.

From: Daniel Baumann <[email-masked]>
Date: Wed, 8 Jul 2009 18:04:38 +0200

---
 functions/losetup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)"
-- 
cgit v1.0