diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-18 22:38:36 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-18 22:38:36 -0500 |
commit | e937c3b260254efb78f2c361d6a3a744cd886fac (patch) | |
tree | 54fece21ca1f5e9472fb6f6824d5cbcc0c7a8915 | |
parent | 0f24e4d48c4d643f8141c25643c080224b83e2d4 (diff) | |
download | squashfu-e937c3b260254efb78f2c361d6a3a744cd886fac.tar.gz |
Fix hillarious typo that results in all your bins being deleted
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |