next if (/^\S.*in Slot $slot/);
if (/^Error: The specified controller does not have any physical drives on it.$/) {
$nodrives = 1;
next if (/^\S.*in Slot $slot/);
if (/^Error: The specified controller does not have any physical drives on it.$/) {
$nodrives = 1;