Skip to content

Commit

Permalink
fix(smart): better error detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Mar 3, 2024
1 parent e9b2cb6 commit 5a07061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion section/smart/smart.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (Section) Gather(c *context.Context) error {
continue
}
for _, s := range stLog.Entry {
if s.Status != 0 {
if s.LBA != 0 {
hasErr = true
}
}
Expand Down

0 comments on commit 5a07061

Please sign in to comment.