aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index 36a3a33..df0f8f8 100755
--- a/squashfu
+++ b/squashfu
@@ -27,7 +27,7 @@ mount_union_ro () {
# build branch string
branches="br="
- for i in `seq 7 -1 1`; do
+ for i in `seq $1 -1 1`; do
branches="${branches}${BKUP_ROOT}/bins/${i}=ro:"
done
branches="${branches}${BKUP_ROOT}/ro=ro"