fork_worker: guard more setup code with eval
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 27 Dec 2017 10:06:07 +0000 (11:06 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 10 Jan 2018 13:12:34 +0000 (14:12 +0100)
commit2311859b0da26e1806f5015783bfebb5aca16300
tree58437e61de9a16d00d964ceb8007f71f79aa5991
parent4d9f4d62e416b0080ccd223c553a967e051d4bab
fork_worker: guard more setup code with eval

As it might die with an error which should end up in the
_exit() code path rather than bailing out into the upper
scope.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTEnvironment.pm