aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-09 23:38:38 -0500
committerDave Reisner <d@falconindy.com>2010-01-09 23:38:38 -0500
commit0c9d737771a329354fdf2f9473a7995ad596d6c3 (patch)
tree5d2d79b8c59950f198fa53d26f186cea40ef61b0
parent836e5e6aea4a6855130f62974ebd7f2e935c6466 (diff)
downloadsquashfu-0c9d737771a329354fdf2f9473a7995ad596d6c3.tar.gz
Fix typo in creating mount string
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index e3ad596..5b2105a 100755
--- a/squashfu
+++ b/squashfu
@@ -109,7 +109,7 @@ mount_union () {
# build mount string
# mount the first bin as rw, the rest as ro, and the seed as ro
- branches="br=${BKUP_ROOT}/bins/$i=rw:"
+ branches="br=${BKUP_ROOT}/bins/$1=rw:"
for i in $(seq $(($1 - 1)) -1 1); do
branches="${branches}${BKUP_ROOT}/bins/${i}=ro:"
done