From 244159ef3ee32f1e54187e7b4890dbb4570e268c Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 12 Jan 2010 00:26:50 -0500 Subject: binventory removal routine needs to reference the old_bins array, not first element --- squashfu | 4 ++-- 1 file 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 () { -- cgit v1.2.3