api: content/delete: die with newline to avoid addign file-context
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -454,8 +454,9 @@ __PACKAGE__->register_method ({
|
||||
|
||||
if (!$currently_deleting) {
|
||||
my $status = PVE::Tools::upid_read_status($upid);
|
||||
chomp $status;
|
||||
return undef if $status eq 'OK';
|
||||
die $status;
|
||||
die "$status\n";
|
||||
}
|
||||
}
|
||||
return $upid;
|
||||
|
||||
Reference in New Issue
Block a user