Skip to content

Commit

Permalink
Update disk/disk_solaris.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shirou authored Feb 25, 2022
1 parent 227df04 commit 38e1deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/disk_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func SerialNumberWithContext(ctx context.Context, name string) (string, error) {
return "", nil
}
}
if err = s.Err(); err != nil {
if err := s.Err(); err != nil {
return "", err
}
return "", nil
Expand Down

0 comments on commit 38e1deb

Please sign in to comment.