defined() style cleanup

This commit is contained in:
Fabian Grünbichler 2017-02-28 12:46:45 +01:00
parent 9045f57a27
commit 8b54f4b8db

View 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");