From 966ecef2e8f16a81126df2cfedc4452aa2520603 Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Fri, 17 Jun 2016 14:28:15 +0200 Subject: [PATCH] fix #1033 storage_migrate on LVMThin - add die. This is necessary to ensure the process will proper finished. --- PVE/Storage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index bb35b32..011c4f3 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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";