From 07d089fa5561499e150b79e7a0701d5a9c3a897f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 Jul 2009 18:04:38 +0200 Subject: Correcting typo in default values assignment of losetup functions. --- 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