Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for existing but empty
cpus
file
If a CPU file exists but is empty, previously we reported this file with a CPU count of 1, which resulted in a single-threaded run. This change trims whitespace from the file, and makes sure that the length of any token in the file is greater than 0 before incrementing the CPU count variable. This will (correctly) report the file with a CPU count of 0, and the result will be filtered out as expected.
- Loading branch information