From 674c8a3857ba03f50e96132e338cf382a6ab2fae Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Thu, 19 Nov 2020 07:33:22 -0600 Subject: Linux v5.9.9 Signed-off-by: Justin M. Forbes --- parallel_xz.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'parallel_xz.sh') diff --git a/parallel_xz.sh b/parallel_xz.sh index bc08a548d..0d98eadeb 100755 --- a/parallel_xz.sh +++ b/parallel_xz.sh @@ -16,6 +16,11 @@ while test "$#" != 0; do shift done +#This seems to cause problems with large numbers +if (( $procgroup > 6 )); then + procgroup=6 +fi + # If told to use only one cpu: test "$procgroup" || exec xargs -r xz test "$procgroup" = 1 && exec xargs -r xz -- cgit