Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix retrieve_cpu_sets() output parsing (#1274)
Due to a greedy `*` atom in the regex, this only gets the last **single** digit of the available cpusets, so `15` becomes `5`. This breaks validation of any jails' configured cpuset property that might be greater than the last output digit. Changing to a non-greedy `*?` causes the regex to match all of the final digits.
- Loading branch information