fix #1033 storage_migrate on LVMThin - add die.

This is necessary to ensure the process will proper finished.
This commit is contained in:
Wolfgang Link
2016-06-17 14:28:15 +02:00
committed by Dietmar Maurer
parent e967e0ef27
commit 966ecef2e8

View File

@ -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";