From 0c9d737771a329354fdf2f9473a7995ad596d6c3 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 9 Jan 2010 23:38:38 -0500 Subject: Fix typo in creating mount string --- squashfu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3