Skip to content

Conversation

@higels
Copy link

@higels higels commented Sep 3, 2025

  • initialise smart_healthy to -1, since an int defaults to 0 if empty, which broke some logic further down. as a result we no longer emit healthy=0 for devices with no SMART support.
  • add a return to parse_smartctl_info to indicate if the device supports smart. if it doesn't, don't bother pulling stats for it

* initialise smart_healthy to -1, since an int defaults to 0 if empty,
  which broke some logic further down; as a result we no longer emit
  healthy=0 for devices with no SMART support.
* add a return to parse_smartctl_info to indicate if the device supports
  smart. if it doesn't, don't bother pulling stats for it

Signed-off-by: Steffen Higel <[email protected]>
@higels higels force-pushed the higels-small-non-smart-dev-fixes branch from ad11cd2 to 148ebad Compare September 3, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant