Skip to content
Commit 35f9c62d authored by Kelley Reynolds's avatar Kelley Reynolds Committed by Mislav Marohnić
Browse files

Handle the case when there is no processor info in `/proc/cpuinfo`

`grep -c` would correctly output "0", which is handled specially later
on, but would also exit with a nonzero status which would abort the
script. Piping the output to `wc` to do the counting makes the exit
status of grep irrelevant.

Fixes #447
parent bc9adfdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment