diff options
author | Daniel Baumann <daniel@debian.org> | 2009-07-08 18:04:38 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:45 +0100 |
commit | 07d089fa5561499e150b79e7a0701d5a9c3a897f (patch) | |
tree | eb1b8dc5d0d36f23c38ed1bff11f24388551a4c5 /functions/losetup.sh | |
parent | 95fb795e25946d34cac88844e703bc9ddcf02297 (diff) | |
download | vyos-live-build-07d089fa5561499e150b79e7a0701d5a9c3a897f.tar.gz vyos-live-build-07d089fa5561499e150b79e7a0701d5a9c3a897f.zip |
Correcting typo in default values assignment of losetup functions.
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-x | functions/losetup.sh | 2 |
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)" |