Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
---

Dependency bump for pve-common is needed.

 PVE/API2/Storage/Content.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm
index 8b0e3de..a510e3b 100644
--- a/PVE/API2/Storage/Content.pm
+++ b/PVE/API2/Storage/Content.pm
@@ -454,7 +454,7 @@ __PACKAGE__->register_method ({
 
            if (!$currently_deleting) {
                my $status = PVE::Tools::upid_read_status($upid);
-               return undef if $status eq 'OK';
+               return undef 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

Reply via email to