fork_worker: refactor passing $upid to parent for sync
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Dec 2017 16:00:29 +0000 (17:00 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 18 Dec 2017 12:37:05 +0000 (13:37 +0100)
commit95109cc44eb72e0b1b1a66b800a3f3cb99980eea
tree01cb237994e09bcbfe4dd694750e2b5a7b86d4c5
parent5cccb0f2001094306a4e0a666dfe28ee02ee2a50
fork_worker: refactor passing $upid to parent for sync

STDOUT and $psync[1] are the same here, so no need to differ.
Also we do this only for letting the parent know tha we're ready, the
parent knows the UPID already as it was generated before forking.

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