diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index 4da6934..4d0ceb6 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -455,7 +455,7 @@ __PACKAGE__->register_method ({ if (!$currently_deleting) { my $status = PVE::Tools::upid_read_status($upid); chomp $status; - return undef if $status eq 'OK'; + return undef if !PVE::Tools::upid_status_is_error($status); die "$status\n"; } }