Closed Heidistein closed 1 year ago
I have several NVME drives reporting an empty 'Serial Number:'. The line is there, but with no data. This commit catches that error. I was in doubt if it might have been nicer to check the length returned by the split(':').
Seems like an easy fix.
Thanks for your contrib!
I have several NVME drives reporting an empty 'Serial Number:'. The line is there, but with no data. This commit catches that error. I was in doubt if it might have been nicer to check the length returned by the split(':').