From f681872c4d8c211344b8145f8f1757945a517673 Mon Sep 17 00:00:00 2001 From: Travis Paul Date: Fri, 30 Nov 2018 13:51:01 +0800 Subject: [PATCH] Remove `-n 1` argument from the xargs invocation in blackbox_shred_all_files. The -I and -n options are mutually-exclusive, don't work as expected with xargs from SunOS, and appear to be unecessary anyway. --- bin/blackbox_shred_all_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blackbox_shred_all_files b/bin/blackbox_shred_all_files index 87ac1f6..7b640bc 100755 --- a/bin/blackbox_shred_all_files +++ b/bin/blackbox_shred_all_files @@ -45,6 +45,6 @@ if bash --help | grep import-functions >/dev/null 2>/dev/null; then fi export IFS= -tr '\n' '\0' <"$BB_FILES" | xargs -0 -I{} -n 1 -P $MAX_PARALLEL_SHRED bash $bash_args -c "exported_internal_shred_file $DEREFERENCED_BIN_DIR \"{}\"" $DEREFERENCED_BIN_DIR/fake +tr '\n' '\0' <"$BB_FILES" | xargs -0 -I{} -P $MAX_PARALLEL_SHRED bash $bash_args -c "exported_internal_shred_file $DEREFERENCED_BIN_DIR \"{}\"" $DEREFERENCED_BIN_DIR/fake echo '========== DONE.'