fix #1033 storage_migrate on LVMThin - add die.
This is necessary to ensure the process will proper finished.
This commit is contained in:
committed by
Dietmar Maurer
parent
e967e0ef27
commit
966ecef2e8
@ -569,6 +569,7 @@ sub storage_migrate {
|
||||
if (my $err = $@) {
|
||||
run_command(['/usr/bin/ssh', "root\@${target_host}",
|
||||
'pvesm', 'free', $target_volid]);
|
||||
die $err;
|
||||
}
|
||||
} else {
|
||||
die "$errstr - migrate from source type '$scfg->{type}' to '$tcfg->{type}' not implemented\n";
|
||||
|
||||
Reference in New Issue
Block a user