chef / ohai

Ohai profiles your system and emits JSON
https://docs.chef.io/ohai.html
Apache License 2.0
681 stars 452 forks source link

[#1830] Check that sysfs directory exists before reading #1831

Closed dafyddcrosby closed 1 month ago

dafyddcrosby commented 1 month ago

Description

Checks that the sysfs directory even exists for btrfs partitions before attempting reads and failing.

Types of changes

Checklist:

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud