aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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