diff options
Diffstat (limited to 'tests/util.sh')
-rw-r--r-- | tests/util.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util.sh b/tests/util.sh index e3eca60..1718a1a 100644 --- a/tests/util.sh +++ b/tests/util.sh @@ -194,9 +194,9 @@ pop_defers() { ## Parallelism # Get the number of processors -nproc() { +_nproc() { { - (command nproc) \ + nproc \ || sysctl -n hw.ncpu \ || getconf _NPROCESSORS_ONLN \ || echo 1 |