Update disk/disk_solaris.go

pull/1256/head
shirou 3 years ago committed by GitHub
parent 227df04773
commit 38e1debe71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save