Skip to content

Commit

Permalink
mxproxmox: Remove redundant call to do_map for cfdl map
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 7, 2022
1 parent 1b5f675 commit 86e9865
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mxproxmox/mxproxmox
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ sub read_backup_list {
open my $in, '<', '/etc/mxproxmox/backup-list.dat' or die "/etc/mxproxmox/backup-list.dat: $!\n";
while (<$in>) {
chomp;
s/#.*//;
s/\s*#.*//;
/\S/ or next;
my ($project, $opt_limit) = split " ";
$INCLUDE{$project} = $opt_limit;
Expand All @@ -215,7 +215,6 @@ sub cmd_local_backups {
do_map('cfdl', 'auto.confidential', 1),
do_map('prj', 'auto.project', 1),
do_map('pkg', 'auto.package', 1),
do_map('cfdl', 'auto.confidential', 1),
do_map('src', 'auto.src', 1),
) {
my ($ident, $path) = @$p;
Expand Down Expand Up @@ -259,7 +258,6 @@ sub cmd_check_pbackup {
do_map('cfdl', 'auto.confidential', 0),
do_map('prj', 'auto.project', 0),
do_map('pkg', 'auto.package', 0),
do_map('cfdl', 'auto.confidential', 0),
do_map('src', 'auto.src', 0),
) {
my ($ident, $path) = @$p;
Expand Down

0 comments on commit 86e9865

Please sign in to comment.