aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-12 00:26:50 -0500
committerDave Reisner <d@falconindy.com>2010-01-12 00:26:50 -0500
commit244159ef3ee32f1e54187e7b4890dbb4570e268c (patch)
tree1b1b10be3c3d0c4b798818a1b2585110bd7e53a9
parent36a1216f52ba87520414dcc7c2c1919d63cfbfdd (diff)
downloadsquashfu-244159ef3ee32f1e54187e7b4890dbb4570e268c.tar.gz
binventory removal routine needs to reference the old_bins array, not first element
-rwxr-xr-xsquashfu4
1 files changed, 2 insertions, 2 deletions
diff --git a/squashfu b/squashfu
index d5673b2..47c854d 100755
--- a/squashfu
+++ b/squashfu
@@ -188,7 +188,7 @@ create_new_squash () {
mv "${SEED}.replace" "$SEED"
# Delete old bins, and remove entry from binventory
- for bin in $old_bins; do
+ for bin in ${old_bins[@]}; do
rm -rf "${BINS_DIR}/$bin"
sed -i "/^$bin:/d" "$BINVENTORY"
done
@@ -254,7 +254,7 @@ action_backup () {
# TODO: Report if requested
- unmount_all
+ #unmount_all
}
action_rollback () {