From fb6871fc7f3bd9a64724b464f4f982d8cc041ca4 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Fri, 4 Dec 2020 10:15:18 +0100 Subject: [PATCH] vzdump: use debugmsg instead of warn Signed-off-by: Fabian Ebner --- 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)) {