Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index c56b609..336aa73 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1438,7 +1438,7 @@ my $update_vm_api = sub { if (!$running) { my $status = PVE::Tools::upid_read_status($upid); - return if $status eq 'OK'; + return if !PVE::Tools::upid_status_is_error($status); die $status; } } -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel