aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-18 22:38:36 -0500
committerDave Reisner <d@falconindy.com>2010-01-18 22:38:36 -0500
commite937c3b260254efb78f2c361d6a3a744cd886fac (patch)
tree54fece21ca1f5e9472fb6f6824d5cbcc0c7a8915 /squashfu
parent0f24e4d48c4d643f8141c25643c080224b83e2d4 (diff)
downloadsquashfu-e937c3b260254efb78f2c361d6a3a744cd886fac.tar.gz
Fix hillarious typo that results in all your bins being deleted
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files 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