fix coding style

This commit is contained in:
Dietmar Maurer 2013-07-15 13:11:28 +02:00
parent be19058305
commit 29b1952991

View File

@ -1050,7 +1050,7 @@ sub print_drivedevice_full {
my $path = '';
if (drive_is_cdrom($drive)) {
$devicetype = 'cd';
} else {
} else {
if ($drive->{file} =~ m|^/|) {
$path = $drive->{file};
} else {
@ -1058,10 +1058,9 @@ sub print_drivedevice_full {
}
if($path =~ m/^iscsi\:\/\//){
$devicetype = 'generic';
}
else {
$devicetype = 'block' if path_is_scsi($path);
$devicetype = 'generic';
} else {
$devicetype = 'block' if path_is_scsi($path);
}
}