diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-12 00:26:50 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-12 00:26:50 -0500 |
commit | 244159ef3ee32f1e54187e7b4890dbb4570e268c (patch) | |
tree | 1b1b10be3c3d0c4b798818a1b2585110bd7e53a9 | |
parent | 36a1216f52ba87520414dcc7c2c1919d63cfbfdd (diff) | |
download | squashfu-244159ef3ee32f1e54187e7b4890dbb4570e268c.tar.gz |
binventory removal routine needs to reference the old_bins array, not first element
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 () { |