Signed-off-by: Daniel Tschlatscher <d.tschlatsc...@proxmox.com> --- PVE/Storage.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 6f2558f..98ecd60 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -1604,7 +1604,8 @@ sub archive_auxiliaries_remove { my $path = "$dirname/$filename"; if (-e $path) { - unlink $path or $! == ENOENT or warn "Removing $type file failed: $!\n"; + unlink $path or $! == ENOENT + or PVE::RESTEnvironment::log_warn("Removing $type file failed: $!"); } } } -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel