vzdump: use debugmsg instead of warn

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2020-12-04 10:15:18 +01:00 committed by Thomas Lamprecht
parent f1dd762969
commit fb6871fc7f

View File

@ -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)) {