From 29b195299144718e2a9033568c1a60e46d8fcfd1 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 15 Jul 2013 13:11:28 +0200 Subject: [PATCH] fix coding style --- PVE/QemuServer.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index cae954a9..26072619 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -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); } }