From f72d1bd77b9909d7df30bed343f3b26bc5b6aa62 Mon Sep 17 00:00:00 2001 From: Seth Grover Date: Tue, 27 Aug 2024 08:38:03 -0600 Subject: [PATCH] Reduce verbosity of pruning script --- shared/bin/prune_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/bin/prune_files.sh b/shared/bin/prune_files.sh index 29ad8d474..010327ae3 100755 --- a/shared/bin/prune_files.sh +++ b/shared/bin/prune_files.sh @@ -101,7 +101,7 @@ while true ; do if (( $DELETED_FILES > 0 )) ; then echo "Pruned $DELETED_FILES files ($(numfmt --to=iec-i --suffix=B $DELETED_BYTES)) in \"$PRUNE_PATH\"" else - echo "Nothing was pruned in \"$PRUNE_PATH\"!" >&2 + [[ "$VERBOSE" == "1" ]] && echo "Nothing was pruned in \"$PRUNE_PATH\"!" >&2 fi else