diff --git a/bin/pwdb b/bin/pwdb index 507e2bb..8218be2 100755 --- a/bin/pwdb +++ b/bin/pwdb @@ -38,8 +38,8 @@ EOF exit ${1:-0} } -# Let -i option default to number of CPU cores, use the output of nproc for this. -#JOBS=$(nproc) +# Let -i option default to number of CPU cores. +JOBS=$(getconf _NPROCESSORS_ONLN) db_exec() {