From e937c3b260254efb78f2c361d6a3a744cd886fac Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 18 Jan 2010 22:38:36 -0500 Subject: Fix hillarious typo that results in all your bins being deleted --- squashfu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squashfu b/squashfu index b6f8c04..9767527 100755 --- a/squashfu +++ b/squashfu @@ -293,9 +293,9 @@ action_remove_bin () { fi fi - info "Deleting bin $new_bin" + info "Deleting bin $1" sed -n "/^$new_bin:[0-9]*/d" "${BINVENTORY}" - rm -rf ${BINS_DIR}/$new_bin + rm -rf ${BINS_DIR}/$1 # tidy up! sweep_bins -- cgit v1.2.3