From: Thomas Lamprecht Date: Tue, 20 Nov 2018 09:07:33 +0000 (+0100) Subject: fork_worker: readd the kill safety for _exit again X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=a609b2f787bab1189de6b4096d144d60b62c7c66 fork_worker: readd the kill safety for _exit again to be sure, plus we have this in other places too here, so be consistent and double safe(tm) Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm index cba062d..aca18bc 100644 --- a/src/PVE/RESTEnvironment.pm +++ b/src/PVE/RESTEnvironment.pm @@ -603,6 +603,7 @@ sub fork_worker { } } POSIX::_exit($exitcode); + kill(-9, $$); # not really needed, just to be sure } # parent