Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- Follow-ups for my recent patches, as discussed off list.
PVE/Storage.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 18357a8..bbbc66e 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -133,6 +133,8 @@ sub lock_storage_config { my $convert_maxfiles_to_prune_backups = sub { my ($scfg) = @_; + return if !$scfg; + my $maxfiles = delete $scfg->{maxfiles}; if (!defined($scfg->{'prune-backups'}) && defined($maxfiles)) { -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel