]> git.proxmox.com Git - pve-manager-legacy.git/commit
restore default value of 0 for remove/maxfiles
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 5 Nov 2020 15:21:51 +0000 (16:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 Nov 2020 15:29:00 +0000 (16:29 +0100)
commit5ba2a605ac14de58572f7b8d6e04b45b34724b0a
tree5bde7a77c5ad9de33b88dc21c3ea89a260c52740
parent8eabe60e478ce0179c9be6562a097f1b05bee530
restore default value of 0 for remove/maxfiles

If neither the 'remove' option of vzdump nor the 'maxfiles' option in
the storage config are set, assume a value of 0, i.e. do not delete
anything and allow unlimited backups.

Restores previous behaviour that was broken in 7ab7d6f15f.

Also fixes a warning about using '== 0' on a non-number type.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/VZDump.pm