diff --git a/builtin/grep.c b/builtin/grep.c index d04f4400d..734d6ceaa 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -832,7 +832,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix) } #ifndef NO_PTHREADS - if (list.nr || cached || online_cpus() == 1) + if (list.nr || cached) use_threads = 0; #else use_threads = 0;