don't pass along keep-options equal to zero to PBS
In PBS, zero is not allowed for these options. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
0b6b98d189
commit
14c922b7da
@ -314,6 +314,7 @@ sub prune_backups {
|
||||
|
||||
my @param;
|
||||
foreach my $opt (keys %{$keep}) {
|
||||
next if $keep->{$opt} == 0;
|
||||
push @param, "--$opt";
|
||||
push @param, "$keep->{$opt}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user