better handling of verbosity

This commit is contained in:
Nathaniel Landau
2015-06-21 12:13:16 -04:00
parent b9ff359ec9
commit 2498352fd5

View File

@@ -58,7 +58,7 @@ function trapCleanup() {
# ----------------------------------- # -----------------------------------
quiet=0 quiet=0
printLog=0 printLog=0
verbose=true verbose=0
force=0 force=0
strict=0 strict=0
debug=0 debug=0
@@ -178,7 +178,6 @@ function realpath() {
function listTrash() { function listTrash() {
num_volumes=0 num_volumes=0
total_blocks=0 total_blocks=0
verbose "listing trash contents"
# list file contents & calculate size for user's .Trash folder # list file contents & calculate size for user's .Trash folder
if find "/Users/${user}/.Trash" -depth 1 ! -depth 0; then if find "/Users/${user}/.Trash" -depth 1 ! -depth 0; then