]> git.proxmox.com Git - qemu-server.git/commitdiff
defined() style cleanup
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 28 Feb 2017 11:46:45 +0000 (12:46 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 28 Feb 2017 11:46:47 +0000 (12:46 +0100)
PVE/QemuMigrate.pm

index bcd9c84e0bd44df3404a31712a0d0dcc6ba7b679..e6f147e7334036128e23097abd5bf117108970b3 100644 (file)
@@ -592,7 +592,7 @@ sub phase2 {
 
     my $start = time();
 
-    if ($self->{opts}->{targetstorage} && defined $self->{online_local_volumes}) {
+    if ($self->{opts}->{targetstorage} && defined($self->{online_local_volumes})) {
        $self->{storage_migration} = 1;
        $self->{storage_migration_jobs} = {};
        $self->log('info', "starting storage migration");