]> git.proxmox.com Git - pve-manager.git/commit - PVE/Report.pm
pvereport: only comput report def if we generate a report.
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2019 10:25:57 +0000 (12:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2019 10:25:59 +0000 (12:25 +0200)
commit01c8f6fe7d289dca7360e62fec3c4c01995302c3
tree1a0d85ae617f14c1ea4d8b8cb861cd5889888627
parent4711d99862b45c2e48bce36ae4a1d655fbed73f4
pvereport: only comput report def if we generate a report.

it's really not a good idea to start doing exec, file exist checks,
... on every module load of this, this may even hang completely
differen parts if something pull us in, and confuse one completely...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reported-by: Wolfgang Link <w.link@proxmox.com>
PVE/Report.pm