[pve-devel] [PATCH manager 2/2] vzdump: use debugmsg instead of warn

Fabian Ebner f.ebner at proxmox.com
Fri Dec 4 10:15:18 CET 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 2e44908a..6a4e641b 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -75,7 +75,7 @@ my $parse_prune_backups_maxfiles = sub {
     my $maxfiles = delete $param->{maxfiles};
     my $prune_backups = $param->{'prune-backups'};
 
-    warn "both 'maxfiles' and 'prune-backups' defined as ${kind} - ignoring 'maxfiles'\n"
+    debugmsg('warn', "both 'maxfiles' and 'prune-backups' defined as ${kind} - ignoring 'maxfiles'")
         if defined($maxfiles) && defined($prune_backups);
 
     if (defined($prune_backups)) {
-- 
2.20.1






More information about the pve-devel mailing list